- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
905 B
Markdown
40 lines
905 B
Markdown
# array-initial [](http://badge.fury.io/js/array-initial)
|
|
|
|
> Get all but the last element or last n elements of an array.
|
|
|
|
## Install with [npm](npmjs.org)
|
|
|
|
```bash
|
|
npm i array-initial --save
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
var initial = require('array-initial');
|
|
|
|
initial(['a', 'b', 'c', 'd', 'e', 'f']);
|
|
//=> ['a', 'b', 'c', 'd', 'e']
|
|
|
|
initial(['a', 'b', 'c', 'd', 'e', 'f'], 1);
|
|
//=> ['a', 'b', 'c', 'd', 'e']
|
|
|
|
initial(['a', 'b', 'c', 'd', 'e', 'f'], 2);
|
|
//=> ['a', 'b', 'c', 'd']
|
|
```
|
|
|
|
## Author
|
|
|
|
**Jon Schlinkert**
|
|
|
|
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
|
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
|
|
|
## License
|
|
Copyright (c) 2014 Jon Schlinkert
|
|
Released under the MIT license
|
|
|
|
***
|
|
|
|
_This file was generated by [verb](https://github.com/assemble/verb) on December 12, 2014. To update, run `npm i -g verb && verb`._
|