Socket
Socket
Sign inDemoInstall

function-arguments

Package Overview
Dependencies
0
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

index.d.ts

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Change Log

<a name="1.0.9"></a>
## [1.0.9](https://github.com/tunnckocore/function-arguments/compare/v1.0.8...v1.0.9) (2020-01-15)
### Bug Fixes
* add funding + note for parse-function ([0e0d074](https://github.com/tunnckocore/function-arguments/commit/0e0d074))
* add type files to distributed package ([2a7c839](https://github.com/tunnckocore/function-arguments/commit/2a7c839))
* add TypeScript files - index.d.ts (#11) ([8619796](https://github.com/tunnckocore/function-arguments/commit/8619796))
<a name="1.0.8"></a>

@@ -7,0 +19,0 @@ ## [1.0.8](https://github.com/tunnckocore/function-arguments/compare/v1.0.7...v1.0.8) (2016-10-29)

10

package.json
{
"name": "function-arguments",
"version": "1.0.8",
"version": "1.0.9",
"description": "Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.",

@@ -9,2 +9,4 @@ "repository": "tunnckoCore/function-arguments",

"main": "index.js",
"types": "index.d.ts",
"typings": "index.d.ts",
"license": "MIT",

@@ -35,4 +37,8 @@ "scripts": {

},
"funding": {
"url": "https://ko-fi.com/tunnckoCore/commissions"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -39,0 +45,0 @@ "keywords": [

45

README.md

@@ -1,6 +0,11 @@

# [function-arguments][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] [![npm downloads][downloads-img]][downloads-url]
# function-arguments [![npm version][npmv-img]][npmv-url] [![github release][github-release-img]][github-release-url] [![License][license-img]][license-url]
> Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]
[![code style][standard-img]][standard-url]
[![linux build][travis-img]][travis-url]
[![code coverage][coverage-img]][coverage-url]
[![dependency status][david-img]][david-url]
[![npm downloads][downloads-img]][downloads-url]
[![paypal donate][paypalme-img]][paypalme-url]

@@ -14,2 +19,4 @@ ## Install

_**Important:** for more advanced stuff please use [parse-function][], don't suggest features or complex bugs._
## Usage

@@ -29,4 +36,4 @@ > For more use-cases see the [tests](./test.js)

* `fn` **{Function}**: Function from which to get arguments names.
* `returns` **{Array}**
* `fn` **{Function}**: Function from which to get arguments names.
* `returns` **{Array}**

@@ -71,3 +78,3 @@ **Example**

## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/function-arguments/issues/new).
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/function-arguments/issues/new).
But before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.

@@ -83,19 +90,10 @@

[npmjs-url]: https://www.npmjs.com/package/function-arguments
[npmjs-img]: https://img.shields.io/npm/v/function-arguments.svg?label=function-arguments
[license-url]: https://github.com/tunnckoCore/function-arguments/blob/master/LICENSE
[license-img]: https://img.shields.io/npm/l/function-arguments.svg
[downloads-url]: https://www.npmjs.com/package/function-arguments
[downloads-img]: https://img.shields.io/npm/dm/function-arguments.svg
[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/function-arguments
[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/function-arguments.svg
[travis-url]: https://travis-ci.org/tunnckoCore/function-arguments
[travis-img]: https://img.shields.io/travis/tunnckoCore/function-arguments/master.svg
[coveralls-url]: https://coveralls.io/r/tunnckoCore/function-arguments
[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/function-arguments.svg
[coverage-url]: https://coveralls.io/r/tunnckoCore/function-arguments
[coverage-img]: https://img.shields.io/coveralls/tunnckoCore/function-arguments.svg

@@ -129,1 +127,16 @@ [david-url]: https://david-dm.org/tunnckoCore/function-arguments

<!-- -->
[paypalme-url]: https://ko-fi.com/tunnckoCore
[paypalme-img]: https://img.shields.io/badge/support-donate-brightgreen.svg
[npmv-url]: https://www.npmjs.com/package/function-arguments
[npmv-img]: https://img.shields.io/npm/v/function-arguments.svg?label=npm%20version
[github-release-url]: https://github.com/tunnckoCore/function-arguments/releases/latest
[github-release-img]: https://img.shields.io/github/tag/tunnckoCore/function-arguments.svg?label=github%20tag
[license-url]: https://github.com/tunnckoCore/function-arguments/blob/master/LICENSE
[license-img]: https://img.shields.io/badge/license-MIT-blue.svg
[parse-function]: https://tunnckocore.com/opensource
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc