conflux-web-utils
Collection of utility functions used in conflux-web.js.
Last updated 7 months ago by ypliu .
LGPL-3.0 · Repository · Original npm · Tarball · package.json
$ cnpm install conflux-web-utils 
SYNC missed versions from official npm registry.

conflux-web-utils

This is a sub package of ConfluxWeb.js

This contains useful utility functions for Dapp developers.

Installation

npm install conflux-web-utils

Usage

Import all of the utils functions

import * as Utils from 'conflux-web-utils';

console.log(Utils);
> {
    sha3: Function,
    soliditySha3: Function,
    isAddress: Function,
    ...
}

Import what you need

import { asciiToHex } from 'conflux-web-utils';

console.log(asciiToHex('I have 100!'));
> "0x49206861766520313030e282ac"

Types

All the typescript typings are placed in the types folder.

Current Tags

  • 1.36.7-alpha.0                                ...           latest (7 months ago)

50 Versions

  • 1.36.7-alpha.0                                ...           7 months ago
  • 1.36.6-alpha.0                                ...           7 months ago
  • 1.36.5-alpha.0                                ...           7 months ago
  • 1.36.4-alpha.0                                ...           7 months ago
  • 1.36.3-alpha.0                                ...           7 months ago
  • 1.36.2-alpha.0                                ...           7 months ago
  • 1.36.1-alpha.0                                ...           7 months ago
  • 1.36.0-alpha.0                                ...           7 months ago
  • 1.35.1-alpha.0                                ...           8 months ago
  • 1.35.0                                ...           10 months ago
  • 0.3.0-alpha.2                                ...           10 months ago
  • 0.3.0-alpha.1                                ...           10 months ago
  • 0.3.0-alpha.0                                ...           10 months ago
  • 0.2.0-alpha.8                                ...           a year ago
  • 0.2.0-alpha.6                                ...           a year ago
  • 0.2.0-alpha.5.0                                ...           a year ago
  • 0.2.0-alpha.4                                ...           a year ago
  • 0.2.0-alpha.3                                ...           a year ago
  • 0.2.0-alpha.2                                ...           a year ago
  • 0.2.0-alpha.1                                ...           a year ago
  • 0.1.35-alpha.2                                ...           a year ago
  • 0.1.35-alpha.1                                ...           a year ago
  • 0.1.35-alpha.0                                ...           a year ago
  • 0.1.34                                ...           a year ago
  • 0.1.33                                ...           a year ago
  • 0.1.33-alpha.0                                ...           a year ago
  • 0.1.32-alpha.0                                ...           a year ago
  • 0.1.30-alpha.0                                ...           a year ago
  • 0.1.29-alpha.0                                ...           a year ago
  • 1.2.2-alpha.0                                ...           a year ago
  • 0.1.15-alpha.0                                ...           a year ago
  • 0.1.14-alpha.0                                ...           a year ago
  • 0.1.13-alpha.0                                ...           a year ago
  • 0.1.12-alpha.0                                ...           a year ago
  • 0.1.10-alpha.0                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.1                                ...           2 years ago
  • 0.1.1-alpha.0                                ...           2 years ago
  • 0.1.0-alpha.4                                ...           2 years ago
  • 0.1.0-alpha.3                                ...           2 years ago
  • 0.1.0-alpha.2                                ...           2 years ago
  • 0.1.0-alpha.1                                ...           2 years ago
  • 0.1.0-alpha.0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago

Copyright 2014 - 2017 © taobao.org |