Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
/ req-cmd Public archive

@neos21/req-cmd : require() API and CLI in one JS.

License

Notifications You must be signed in to change notification settings

Neos21/req-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@neos21/req-cmd : req-cmd

NPM Version GPR Version

require() API and CLI in one JS.

This npm package is made from one file index.js only.

How to use

require() API

const reqCmd = require('@neos21/req-cmd');

reqCmd();

// -> '@neos21/req-cmd by Neo (@Neos21) https://neos21.net/'

CLI

$ npm install -D @neos21/req-cmd

Add npm-scripts:

{
  "name": "test-project",
  "scripts": {
    "exec": "req-cmd"
  }
}
$ npm run exec

> [email protected] exec
> req-cmd

@neos21/req-cmd by Neo (@Neos21) https://neos21.net/

Links

About

@neos21/req-cmd : require() API and CLI in one JS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages