Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-function

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-function - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

history.md
## 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

2

package.json
{
"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 `''`

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc