You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2026. It is now read-only.
Rocket Array 2.1 is 33.6% lighter and until 20 times more faster than Rocket Array 1.5 and is designed to be simplest way possible to manipulate your array
Installation 🌍
$ npm install rocket-array
How it works ?
Initialize
require("rocket-array");//for node.js integration//example for this docconstmyArray=["this","is","hello","world",{name: "alice",infos: {level: 18}},{name: "bob",infos: {level: 50}},{name: "other",infos: {level: 2}},5,10,2,"this","is","my","world"];
//the "remove" functions do not change your ArraymyArray=myArray.findAndRemove({regex: /is/,lessthan: 10,morethan: 9,equal: 10,type: "string"});//the "remove" functions do not change your ArraymyArray=myArray.findAndRemoveInJSON({where: "name",regex: /is/,lessthan: 10,morethan: 9,type: "string"});