# args-js

> Create javascript functions with optional, default and named paramaters.

Latest version **0.10.12** (published 2016-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install args-js
pnpm add args-js
yarn add args-js
bun add args-js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.12 |
| Published | 2016-06-18 |
| First published | 2014-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 386 |
| Maintainers | joebain |
| Keywords | function, args, arguments, paramaters, api |

## Links

- npm: https://www.npmjs.com/package/args-js
- Repository: https://github.com/joebain/args.js
- Homepage: http://joebain.github.io/args.js/
- Issues: https://github.com/joebain/args.js/issues
- npm.io page: https://npm.io/package/args-js

## Recent versions

- 0.10.12 (latest) — 2016-06-18
- 0.10.11 — 2016-01-18
- 0.10.10 — 2015-11-24
- 0.10.9 — 2015-11-05
- 0.10.7 — 2015-07-22
- 0.10.6 — 2014-11-11
- 0.10.5 — 2014-07-29
- 0.10.4 — 2014-02-21
- 0.10.3 — 2014-02-10
- 0.10.2 — 2014-02-10
- 0.10.1 — 2014-01-30
- 0.9.0 — 2014-01-27
- 0.8.0 — 2014-01-13
- 0.7.0 — 2014-01-10

## README

#Args.js

Args.js lets you easily create functions with optional parameters, default parameters, parameter groups and named parameters. It checks types and will trigger exceptions if a function is called incorrectly.

See [the homepage](http://joebain.github.io/args.js/) for more details.

## License

Copyright (c) 2015, Joseph Bain

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---
_Source: https://npm.io/package/args-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
