
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
array-kit-lite
Advanced tools
📦 array-kit# 📦 array-kit
A lightweight utility library for common array operations like isEmpty, isNotEmpty, first, last, and unique.
Designed to be minimal, typed, and framework-agnostic — a tiny alternative to Lodash for array checks.
npm install array-kit
pnpm add array-kit
yarn add array-kit
bun add array-kit
deno add jsr:@your-username/array-kit
✅ TypeScript support out of the box ✅ Works in Node.js, Deno, and modern browsers ✅ Tiny footprint — only the essentials ✅ Tree-shakeable
// ESM / TypeScript
import { isEmpty, isNotEmpty, first, last, unique } from "array-kit";
// CommonJS
const { isEmpty, isNotEmpty } = require("array-kit");
isEmpty([]); // true
isNotEmpty([1, 2, 3]); // true
first([10, 20, 30]); // 10
last([10, 20, 30]); // 30
unique([1, 1, 2, 3, 3]); // [1, 2, 3]
| Function | Description |
|---|---|
isEmpty(arr) | Returns true if the array is null, undefined, or empty |
isNotEmpty(arr) | Returns true if the array contains at least one element |
first(arr) | Returns the first element, or undefined if empty |
last(arr) | Returns the last element, or undefined if empty |
unique(arr) | Returns a new array with duplicates removed |
FAQs
Lightweight array utilities (isEmpty, isNotEmpty, etc.)
We found that array-kit-lite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.