Skip to content

Commit 03b0da5

Browse files
committed
run verb
1 parent 4a1dc0f commit 03b0da5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.verb.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
> {%= description %}
44
5-
## Install
6-
{%= include("install") %}
5+
{%= include("install-npm", {save: true}) %}
76

87
## Usage
98

109
```js
11-
var last = require('array-last');
10+
var initial = require('{%= name %}');
1211

1312
initial(['a', 'b', 'c', 'd', 'e', 'f']);
1413
//=> ['a', 'b', 'c', 'd', 'e']

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22

33
> Get all but the last element or last n elements of an array.
44
5-
## Install
6-
### Install with [npm](npmjs.org):
5+
## Install with [npm](npmjs.org)
76

87
```bash
9-
npm i array-initial --save-dev
8+
npm i array-initial --save
109
```
1110

1211
## Usage
1312

1413
```js
15-
var last = require('array-last');
14+
var initial = require('array-initial');
1615

1716
initial(['a', 'b', 'c', 'd', 'e', 'f']);
1817
//=> ['a', 'b', 'c', 'd', 'e']

0 commit comments

Comments
 (0)