Socket
Socket
Sign inDemoInstall

array-initial

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-initial - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.travis.yml

13

package.json
{
"name": "array-initial",
"description": "Get all but the last element or last n elements of an array.",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/jonschlinkert/array-initial",

@@ -17,6 +17,3 @@ "author": {

},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/array-initial/blob/master/LICENSE-MIT"
},
"license": "MIT",
"main": "index.js",

@@ -31,7 +28,7 @@ "engines": {

"mocha": "*",
"should": "^4.3.1"
"should": "^11.2.1"
},
"dependencies": {
"array-slice": "^0.2.2",
"is-number": "^0.1.1"
"array-slice": "^1.0.0",
"is-number": "^3.0.0"
},

@@ -38,0 +35,0 @@ "keywords": [

@@ -5,7 +5,6 @@ # array-initial [![NPM version](https://badge.fury.io/js/array-initial.svg)](http://badge.fury.io/js/array-initial)

## Install
### Install with [npm](npmjs.org):
## Install with [npm](npmjs.org)
```bash
npm i array-initial --save-dev
npm i array-initial --save
```

@@ -16,3 +15,3 @@

```js
var last = require('array-last');
var initial = require('array-initial');

@@ -19,0 +18,0 @@ initial(['a', 'b', 'c', 'd', 'e', 'f']);

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