Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

core-library-template-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-library-template-nodejs

A template project for creating NodeJS libraries to be published to the private Astra NPM registry

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

core-library-template-nodejs

This module provides a template for creating NodeJS libraries. The package includes standardized things like linting and publishing (from the master branch) to the Ad Astra private NPM repository.

Prerequisites

  1. Install Node.js and Node Package Manager (npm) here.
  2. Install your favorite text/code editor.

Install

Install the project's dependencies:

$ npm install

Remove any stub code (TemplateLibraryClass) and its related tests. Lastly you should update index.js to export your new code.

Test

Run integration tests via npm

$ npm run unit-test

or

$ npm test

Adding integration tests should be a simple 'integration' or 'system' folder under /test with appropriate test scripts and required changes to package.json to invoke them.

For instance:

Running integration tests

$ npm run integration-test

Running system tests

$ npm run system-test

FAQs

Package last updated on 16 Apr 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc