Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@sketchmine/node-helpers
Advanced tools
This package is a collection of Node.js specific helpers.
async
).sync
).sync
).async
).sync
).sync
).async
).async
).async
).async
).To build the package Rollup.js is used as a module bundler. The configuration can be found in the rollup.config.js
file and is orchestrated by the Yarn package manager.
The package bundle is formatted as commonjs and is meant to be consumed only by Node.js applications.
The build can be started with the following two commands:
yarn build
for building the package.yarn dev
for building and watching the sources of the package.The source code of this package will be linted by our CI environment. To ensure a coding standard and quality, use the configured linter tslint. This package extends from the tslint-config-airbnb
and the linting configuration extends from the root tslint.json
.
Run yarn lint
to execute the linter.
To ensure that the helpers are working, write tests and put them in a properly named file.
Note: All tests based on this package should be wrapped in a describe
element with the prefix: [node-helpers] › ...
like the following:
// import statements
describe('[node-helpers] › ${description of the functionality that should be tested}', () => {
// your tests should be placed here
});
The Jest framework has been selected for tests.
Run yarn test
to run all tests specified for the helpers. Run yarn test -f filename.test
to execute only tests that match the provided RegExp for the filename.
FAQs
A collection of node.js helpers
We found that @sketchmine/node-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.