1.0.0 • Published 5 years ago

impliments v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

impliments.js

Impliment a Npm module into your code easier.

Install

npm install impliments

Options

Impliment needs two specific options

impliments([], {
	npm: (true or false),
	testFile: 'path', // optional
	remove: (true or false), // this removes the entire node_modules folder
	// -- remove OR remove_deps can be enabled but not at the same time
	remove_deps: (true or false) // this removes specific dependencies
	eval: // execute a command while in a Promise
})

Usage


const impliments = require('impliments')

var some_deps = ['underscore', 'cheerio', 'bluebird']
impliments(some_deps, { Npm: true })

function testing () {
	/**
	some code .....
	**/
}