
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
kr-corekit
Advanced tools
A lightweight and modern utility toolkit for JavaScript and TypeScript. kr-corekit provides essential functions for strings, arrays, objects, and more, designed for simplicity and productivity.
Language: English | 한국어 | 简体中文 | 日本語
A utility toolkit for JavaScript and TypeScript built with a clear, practical API design.
.d.ts filesnpm install kr-corekit
# or
pnpm add kr-corekit
# or
yarn add kr-corekit
import {
stringUtil,
arrayUtil,
objectUtil,
asyncUtil,
promiseUtil,
dateUtil,
mathUtil,
langUtil,
} from "kr-corekit";
const id = stringUtil.camelCase("user profile id"); // userProfileId
const rows = arrayUtil.chunk([1, 2, 3, 4, 5], 2); // [[1,2], [3,4], [5]]
const city = objectUtil.get({ user: { profile: { city: "Seoul" } } }, "user.profile.city");
const mapped = await asyncUtil.mapAsync([1, 2, 3], async (v) => v * 2);
const safe = await promiseUtil.withTimeout(fetch("/api/health"), 1000);
const tomorrow = dateUtil.addDays(new Date(), 1);
const average = mathUtil.mean([10, 20, 30]);
const enabled = langUtil.toBoolean("yes");
stringUtil: case conversion, HTML escape/unescape, truncate, slugifyarrayUtil: chunk, flatten, uniq/uniqBy, groupBy, sortBy, set ops, samplingcollectionUtil: map/filter/reduce/find/every/some/includes over arrays/objectsobjectUtil: get/set/has/merge/defaults/pick/omit/deepClone/deepFreezenumberUtil: clamp, inRange, random, ceil/floor/round, sum/subtract/multiplymathUtil: mean/median/min/max/sumBy/minBy/maxBydateUtil: add/sub days/hours, start/end of day, formatDate, date comparisonslangUtil: toBoolean/toNumber/toString/defaultTo/castArray/isEqualasyncUtil: pLimit, mapAsync, filterAsync, eachAsync, series, parallelpromiseUtil: defer, withTimeout, retryWithDelay, settle, toResultcommonUtil, functionUtil, validationUtil, formatUtil, typeUtil, cookieUtil, deviceUtil, searchQueryUtilimport { camelCase } from "kr-corekit/stringUtil";
import { chunk } from "kr-corekit/arrayUtil";
import { get } from "kr-corekit/objectUtil";
import { mapAsync } from "kr-corekit/asyncUtil";
import { withTimeout } from "kr-corekit/promiseUtil";
docs/API_EXAMPLES.md for examples of all public APIs.npm run benchmark
This runs a local micro-benchmark script at benchmark/index.mjs after build.
Latest local sample (2026-02-25):
array.chunk ~1,065,050 ops/s
object.get ~2,681,055 ops/s
string.camelCase ~1,902,407 ops/s
async.mapAsync ~1,514,005 ops/s
package/*/index.ts and generated types under dist/types/*/index.d.ts.MIT
FAQs
A lightweight and modern utility toolkit for JavaScript and TypeScript. kr-corekit provides essential functions for strings, arrays, objects, and more, designed for simplicity and productivity.
The npm package kr-corekit receives a total of 28 weekly downloads. As such, kr-corekit popularity was classified as not popular.
We found that kr-corekit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.