Socket
Book a DemoInstallSign in
Socket

popfun

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popfun - npm Package Compare versions

Comparing version

to
0.1.0

example/callback.js

2

package.json
{
"name": "popfun",
"version": "0.0.0",
"version": "0.1.0",
"description": "pop last item of array, if it is function",

@@ -5,0 +5,0 @@ "main": "index.js",

# popfun - pop last item of array, if it is a function
[![Build Status](https://secure.travis-ci.org/michaelnisi/popfun.png)](http://travis-ci.org/michaelnisi/popfun)
## Description
The popfun node module pops and returns the last item of a given array, if its type is 'function'; for example, the callback in an arguments array.
The popfun node module removes the last element from an array and returns that value to the caller, if the element is of type 'function'; for example, the callback in an arguments array.

@@ -7,0 +9,0 @@ ## Usage

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.