New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

modstrap

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modstrap

Bootstrap npm modules

latest
Source
npmnpm
Version
2.2.2
Version published
Maintainers
1
Created
Source

modstrap

This module helps modstrapping io.js modules. Simply install it via npm install -g modstrap. Use with io.js as it needs generator support to run.

Then simply run modstrap in your development directory. This module will ask you for some data and then creates a new directory containing the following files:

.gitignore
.travis.yml
LICENSE
README.md
Makefile
package.json
src/index.js
test/index.js

It will fill them with provided data and sensible defaults (in my opinion).

Makefile

The Makefile provides the following tasks:

  • build: Runs everything in src through babel and outputs to lib.
  • clean: Removes lib
  • test: Runs mocha
  • lint: Runs jshint over src
  • release-{major,minor,patch}: Increases version number and creates git tag
  • publish: Pushes to git and npm

FAQs

Package last updated on 14 May 2015

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