parse-function
Advanced tools
Comparing version 1.0.0 to 1.0.1
## v1.0.1 / January 26, 2015 | ||
- Release v1.0.1 / npm@v1.0.1 | ||
- fix typo in readme | ||
## v1.0.0 / January 26, 2015 | ||
@@ -4,0 +8,0 @@ - Release v1.0.0 / npm@v1.0.0 |
{ | ||
"name": "parse-function", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parse a given function or string (fn.toString()) to object with `name`, `args` and `body` properties.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -20,4 +20,4 @@ ## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url] [![deps status][daviddm-img]][daviddm-url] | ||
- `return` **{Object}** | ||
+ `name` function name or `anonymous` | ||
+ `args` function arguments names as array (`['val', 're', 'beta']`) or `''` | ||
+ `name` function name or `'anonymous'` | ||
+ `args` function arguments names as array (`['val', 're', 'beta']`) or `[]` | ||
+ `arguments` function arguments as string (`val, re, beta`) or `''` | ||
@@ -24,0 +24,0 @@ + `body` function body as string or `''` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16167