An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# node-tests [![Build Status](https://travis-ci.org/mfdeveloper/node-tests.svg?branch=master)](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)