
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
@fabryscript/algorithms
Advanced tools

A collection of utility functions and algorithms for various programming tasks.
You can install the @fabryscript/algorithms
library using npm or yarn:
npm install @fabryscript/algorithms
# or
yarn add @fabryscript/algorithms
Import the functions you need from the library and use them in your code.
transformKeys<T>(o: Record<string, T>, transformCallback: (originalKey: string) => string | Promise<string>): Record<string, T> | Promise<Record<string, T>>
Transform an object's keys based on a provided callback function, which can be either synchronous or asynchronous.
Parameters:
o
(Required): The object to be operated on.transformCallback
(Required): The callback function that transforms each key. It must return a string as the keys are expected to be strings. This callback can be either synchronous or asynchronous.Returns:
transformCallback
is asynchronous, it returns a promise that resolves to the new object.Example:
import { transformKeys } from "@fabryscript/algorithms"
const inputObject = { name: 'John', age: 30 };
const asyncTransformCallback = async (key) => key.toUpperCase();
const transformedObject = await transformKeys(inputObject, asyncTransformCallback);
console.log(transformedObject);
// Output: { NAME: 'John', AGE: 30 }
This library is open-source and available under the MIT License.
FAQs

The npm package @fabryscript/algorithms receives a total of 1 weekly downloads. As such, @fabryscript/algorithms popularity was classified as not popular.
We found that @fabryscript/algorithms 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.