
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@skit/extensions
Advanced tools
一个多功能的 JavaScript 内置对象原型链扩展方法工具库。 A powerful JavaScript utility library for built-in object extensions.
一个多功能的 JavaScript 内置对象原型链扩展方法工具库。
对部分内置对象扩展了若干常用原型链方法(所有 API 均被设计为以 $ 开头、且不可枚举,无需担心与 ECMAScript 标准的向前兼容问题);
各模块相互独立,可单独拷贝到项目中使用;
支持 TypeScript。
npm install @skit/extensions
/* 使用 `require` 导入 */
require('@skit/extensions');
/* 使用 `import` 导入 */
import '@skit/extensions';
请参考 /types/*.d.ts 下的声明文件。
Array:
Array.$shuffleArray.prototype.$distinctArray.prototype.$distinctByArray.prototype.$fillArray.prototype.$findLastArray.prototype.$findLastIndexArray.prototype.$groupByArray.prototype.$groupByToMapArray.prototype.$insertAtArray.prototype.$maxArray.prototype.$maxByArray.prototype.$minArray.prototype.$minByArray.prototype.$removeAtArray.prototype.$shuffleArray.prototype.$sortAscArray.prototype.$sortAscByArray.prototype.$sortDescArray.prototype.$sortDescByBoolean:
Boolean.$fromDate:
Date.$nowDate.$todayDate.$unixDate.prototype.$addMillisecondsDate.prototype.$addSecondsDate.prototype.$addMinutesDate.prototype.$addHoursDate.prototype.$addDaysDate.prototype.$addMonthsDate.prototype.$addYearsDate.prototype.$formatDate.prototype.$isTodayDate.prototype.$isWeekendDate.prototype.$midnightDate.prototype.$unixFunction:
Function.$noopFunction.$debounceFunction.$throttleNumber:
Number.$isNumericNumber.$isOddNumber.$isEvenNumber.prototype.$toFloorNumber.prototype.$toCeilNumber.prototype.$toRoundObject:
Object.$deepEqualsObject.$mergePromise:
Promise.$delayPromise.$sequentialPromise.$tryPromise.$waitUntilPromise.$waitWhileString:
String.$equalsString.prototype.$reverseString.prototype.$toCamelCaseString.prototype.$toKebabCaseString.prototype.$toPascalCaseString.prototype.$toSnakeCase请参阅 CHANGELOG。
FAQs
一个多功能的 JavaScript 内置对象原型链扩展方法工具库。 A powerful JavaScript utility library for built-in object extensions.
We found that @skit/extensions demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.