
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Functions to do calls to the neurochain BOT REST server.
The source code is written in typescript.
Use the commands below to build the library and to run it's test harness.
Build project
yarn build
Build project in watch mode
yarn start
Run tests
yarn test
Run tests in watch mode
yarn test:watch
Install libray in your project
yarn add nc-utils
Import a function
import {getLastBlocks} from 'nc-utils'
Below are the functions available in this library.
Gets the last blocks n blocks of Neurochain. Default value is 10. Returns a promise.
Gets the total amount of transactions issued in Neurochain. Returns a promise.
Gets the total amount of blocks in Neurochain. Returns a promise.
Gets block by height. Returns a promise.
Gets transaction by it's hash. Returns a promise.
Synchronous.
Sets the root of the url path for the library's api calls.
Default is just "/" which would assume you are runing the library on the same server as the BOT REST server.
FAQs
Functions to do calls to the neurochain BOT REST server.
We found that nc-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.