array-first

Array extractor

Returns one or more elements from the beginning of an array

Get the first element or first n elements of an array.

GitHub

11 stars
3 watching
14 forks
Language: JavaScript
last commit: almost 4 years ago
Linked from 1 awesome list

arrayfirstjavascriptnodejs

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jonschlinkert/array-last Returns the last element(s) in an array 35
jonschlinkert/in-array Returns true if a value exists in an array without searching the entire array or handling null values 16
jonschlinkert/arr-diff Returns an array with unique values from multiple arrays using strict equality comparisons 46
jonschlinkert/arr-flatten Utility function to flatten arrays by recursively iterating over their elements 60
jonschlinkert/get-value A utility library that provides a simple way to access nested properties of objects using dot notation. 247
juliangruber/isarray A polyfill for Array.isArray to support older browsers and Node.js versions. 132
jonschlinkert/deep-bind Binds a context to all functions in an object and its nested functions 9
component/indexof Finds the position of a specified element in an array 15
jonschlinkert/is-number Utility function to check if a value is a number or string representation of a number 260
paulmillr/array.prototype.findindex Polyfills ES6 Array.prototype.findIndex for older environments 28
jscharting/jscharting-react A React wrapper for a popular JavaScript data visualization library 18
jonschlinkert/normalize-pkg Tools to normalize package.json data for better compatibility and readability 18
jgranstrom/sass-extract Extracts structured variables from Sass files and makes them available in JavaScript for use in styles or dynamic content. 186
003random/getjs A tool to extract JavaScript sources from URLs and web pages efficiently 708
juliangruber/binary-extract Extracts values from a binary buffer representing JSON data without parsing the entire structure. 154