open-index/open-npm huggingface dataset:
npm package: @othon/interceptorjs
Description: The simple module to interceptor method
Latest version: 1.1.6

# interceptorjs
The simple module to interceptor method
## Installing
## API
```js
interceptor(
  instance,
  methodName,
  options:{
    beforeFn:<Object or Array>,
    afterFn:<Object or Array>,
  }
)
```
## Example

Using single before trigger method
```js
const moduleInstace = require('moduleInstace')
const beforeFn ()=> console.log('before')

interceptor(moduleInstace,'methodName',{beforeFn})
```
Using array before trigger method
```js
const moduleInstace = require('moduleInstace')
const beforeFn = [
  ()=> console.log('before1'),
  ()=> console.log('before2'),
  ()=> console.log('before3'),
]

interceptor(moduleInstace,'methodName',{beforeFn})
```
Using regex to select all methods
```js
...
interceptor(moduleTest,'.*',{beforeFn:beforeFn1})
...
```
Using regex to select few methods
```js
interceptor(moduleTest,'methodA|methodB',{beforeFn:beforeFn1})
```

## License
MIT
npm package: @othon/node-gen
Description: Generate node.js project script 
Author: Othon Ferreira
Latest version: 1.0.3

Boileplate nodeJs project
=========================

# nodejs-boilerplate
Project to start typescript Node.js project

## Usage
```
node-gen [projectName]

generate project

Positionals:
  projectName  Project name                      [default: "nodejs-boilerplate"]

Options:
  --help      Show help                                            [boolean]
  --version   Show version number                                  [boolean]
  -p, --path      path where the project will be generated
  [default: "<CURRENT_FOLDER>"]
  -a, --author    Author name                        [string] [default: "<USER>"]
  -t, --template  Template name               [string] [default: "nodejs-basic"]
  -f, --force     Override all files and folder       [boolean] [default: false]
```

## References
- [7 libraries to build Node. js CLI](https://yvonnickfrin.dev/seven-libraries-to-build-nodejs-cli/).
- [How to Setup a TypeScript + Node.js Project](https://khalilstemmler.com/blogs/typescript/node-starter-project/).
npm package: @othondev/node-gen
Description: Generate node.js project script 
Author: Othon Ferreira
Latest version: 1.0.0

Boileplate nodeJs project
=========================

# nodejs-boilerplate
Project to start typescript Node.js project

## Usage
```
node-gen [projectName]

generate project

Positionals:
  projectName  Project name                      [default: "nodejs-boilerplate"]

Options:
  --help      Show help                                            [boolean]
  --version   Show version number                                  [boolean]
  -p, --path      path where the project will be generated
  [default: "<CURRENT_FOLDER>"]
  -a, --author    Author name                        [string] [default: "<USER>"]
  -t, --template  Template name               [string] [default: "nodejs-basic"]
  -f, --force     Override all files and folder       [boolean] [default: false]
```

## References
- [7 libraries to build Node. js CLI](https://yvonnickfrin.dev/seven-libraries-to-build-nodejs-cli/).
- [How to Setup a TypeScript + Node.js Project](https://khalilstemmler.com/blogs/typescript/node-starter-project/).
npm package: @oticon/react-icon
Description: [![Travis][build-badge]][build] [![npm package][npm-badge]][npm] [![Coveralls][coveralls-badge]][coveralls]
Author: Sadi Kaya
Latest version: 1.0.1

# react-icon

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

# Usage
```javascript
import Icon from '@oticon/react-icons';

// Add an icon
<Icon color="#000" fontSize="16px" icon="icon-user-alt" />
```


[build-badge]: https://img.shields.io/travis/oticon/react-icon/master.png?style=flat-square
[build]: https://travis-ci.org/oticon/react-icon

[npm-badge]: https://img.shields.io/npm/v/@oticon/react-icons.svg?style=flat-square
[npm]: https://www.npmjs.org/package/@oticon/react-icon

[coveralls-badge]: https://img.shields.io/coveralls/oticon/react-icon/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/oticon/react-icon
npm package: @oticon/react-icons
Description: ```javascript import Icon from '@oticon/react-icons';
Author: Sadi Kaya
Latest version: 1.2.6

# @oticon/react-icons [![Build Status](https://travis-ci.org/oticon/react-icons.svg?branch=master)](https://travis-ci.org/oticon/react-icons) [![npm (scoped)](https://img.shields.io/npm/v/@oticon/react-icons.svg)](https://oticon.github.io/react-icons/index.html)

# Usage
```javascript
import Icon from '@oticon/react-icons';

// Add an icon
<Icon color="#000" fontSize="16px" icon="icon-user-alt" />
```