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

@f/apply

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@f/apply - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

package.json

@@ -5,3 +5,3 @@ {

"repository": "git://github.com/micro-js/apply.git",
"version": "1.0.1",
"version": "1.1.0",
"license": "MIT",

@@ -13,3 +13,3 @@ "main": "lib/index.js",

"dependencies": {
"@micro-js/slice": "^1.0.0"
"@f/slice": "^1.0.0"
},

@@ -16,0 +16,0 @@ "devDependencies": {

@@ -15,5 +15,17 @@

## Usage
```js
var apply = require('@f/apply')
apply(add, [1, 2]) // => 3
function add (one, two) {
return one + two
}
```
## API
### .apply(fn, args)
### apply(fn, args)

@@ -23,2 +35,4 @@ * `fn` - The function to invoke

**Returns:** return of invoked `fn`
## Performance

@@ -25,0 +39,0 @@

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