0.1.1 • Published 6 years ago

natori.proxy v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

natori.proxy

Build Status tested with jest styled with prettier All Contributors

proxy for 名取

Install

$ yarn add natori.proxy

Usage

const 名取 = require('natori.proxy')

const sum = (a, b) => a + b
const 名取sum = 名取(sum, 'ってね')
// 各関数実行時に名取が再生される

console.log(名取sum(1, 2))
// => 3
// 「ってね」

console.log(名取sum(1, 2) + 名取sum(1, 2))
// => 6
// 「ってねを禁止されてね.禁止されってね...うははっ」, 「ってね」

API

natoriProxy(func, keyword)

func

keyword

Type: string Default: てね

Contributors

Thanks goes to these wonderful people (emoji key):

akameco💻 📖 ⚠️ 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco

0.1.1

6 years ago

0.1.0

6 years ago