https://github.com/mfdeveloper/node-tests
Node module structure based in yeoman generator-nmx, for javascript tests and simple functions using es5/es6
https://github.com/mfdeveloper/node-tests
babel es6-javascript jest nodejs vscode-debugging
Last synced: 29 days ago
JSON representation
Node module structure based in yeoman generator-nmx, for javascript tests and simple functions using es5/es6
- Host: GitHub
- URL: https://github.com/mfdeveloper/node-tests
- Owner: mfdeveloper
- License: mit
- Created: 2020-03-20T22:10:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-22T02:19:44.000Z (about 6 years ago)
- Last Synced: 2025-10-10T16:54:04.708Z (8 months ago)
- Topics: babel, es6-javascript, jest, nodejs, vscode-debugging
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# node-tests [](https://travis-ci.org/mfdeveloper/node-tests)
> Node module for javascript tests and simple functions with es5/es6, based in [generator-nmx](https://github.com/radiovisual/generator-nmx).
> Use this repository like a *_template_* to create others Node modules projects
## Install
```
$ npm install --save node-tests
```
## Usage
```js
const nodeTests = require('node-tests');
nodeTests('unicorns');
//=> 'unicorns & rainbows'
```
## API
### nodeTests(input, [options])
#### input
Type: `string`
Lorem ipsum.
#### options
##### foo
Type: `boolean`
Default: `false`
Lorem ipsum.
## CLI
```
$ npm install --global node-tests
```
```
$ node-tests --help
Usage
node-tests [input]
Options
--foo Lorem ipsum. [Default: false]
Examples
$ node-tests
unicorns & rainbows
$ node-tests ponies
ponies & rainbows
```
## License
MIT © [Felipe](http://github.com/mfdeveloper)