manage-arguments
Prevents arguments leakage - managing arguments. From Optimization killers by Petka Antonov.
Last updated 11 years ago by tunnckocore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install manage-arguments 
SYNC missed versions from official npm registry.

manage-arguments npmjs.com The MIT License

Prevents arguments leakage - managing arguments. See Optimization killers by @petkaantonov.

code climate standard code style travis build status coverage status dependency status

Install

npm i manage-arguments --save
npm test

Usage

For more use-cases see the tests

var manageArguments = require('manage-arguments')

function fixture () {
  return manageArguments(arguments)
}

console.log(fixture(1, 2, 3, {foo: 'bar'}))
//=> [ 1, 2, 3, { foo: 'bar' } ]

See also

  • bluebird: Full featured Promises/A+ implementation with exceptionally good performance
  • handle-arguments: Handles given Arguments object - return separatly last argument (commonly callback) and other arguments as… more
  • handle-callback: Initial step for creating hybrid APIs, used by hybridify. Handle callback in promise - give… more
  • hybridify: Building hybrid APIs. You can use both callback and promise in same time. Like… more
  • Optimization killers by @petkaantonov

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. But before doing anything, please read the CONTRIBUTING.md guidelines.

Charlike Make Reagent new message to charlike freenode #charlike

tunnckocore.tk keybase tunnckocore tunnckoCore npm tunnckoCore twitter tunnckoCore github

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

2 Versions

  • 1.0.0                                ...           11 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |