@cityofzion/neon-js
TypeScript icon, indicating that this package has built-in type declarations

5.5.1 • Public • Published

neon-js

Constructed package using:

  • neon-core
  • neon-api

In addition, this package exposes a high level semantic API binding for beginner usage. The semantic API can be found in the default export of the package.

const Neon = require("cityofzion/neon-js");

console.log(Neon); // {wallet, tx, api, nep5, etc...}

const NeonJs = neon.default;

console.log(NeonJs); // {create, get, sign, verify,...}

The semantic API follows a convention of Verb-Noun. Any extra words beyond the first 2 is collapsed into the Noun and camelcased.

NeonJs.create.stringStream("1234");
NeonJs.encrypt.privateKey("key");

Package Sidebar

Install

npm i @cityofzion/neon-js

Weekly Downloads

1,102

Version

5.5.1

License

MIT

Unpacked Size

5.77 MB

Total Files

35

Last publish

Collaborators

  • ethanfast
  • snowypowers
  • rockacola
  • lllwvlvwlll
  • hal0x2328
  • melanke