
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@corefunc/corefunc
Advanced tools
CoreFunc - is a collection of core functions for various tasks. It consists of useful one-liner helpers and more complicated functions.
CoreFunc.GitHub.io ➜ 📚 Documentation
Why.
All functions are written to work with CommonJS and ECMAScript modules.
.JS
, .CJS
, .MJS
, .TS
files are in package. Wherever you prefer.
Don't extend any built-in objects. No prototype pollution at all.
You can steal the code if you don't want to use the whole package. Most functions are not bound to other functions in the library.
It's super easy for Tree Shaking
, no need for Dead Code Hunting.
What is the purpose?
Iterate, check, sort, find on primitives, arrays, objects.
Manipulate, convert, generate values.
const { bubbleSort } =
require("@corefunc/corefunc/array/sort/bubble.cjs");
bubbleSort([3, 1, 2]);
import { bubbleSort } from "@corefunc/corefunc/array/sort/bubble.mjs";
bubbleSort([3, 1, 2]);
import { bubbleSort } from "@corefunc/corefunc/array/sort/bubble";
bubbleSort([3, 1, 2]);
Also there is more useful links:
FAQs
Collection of utilities
The npm package @corefunc/corefunc receives a total of 234 weekly downloads. As such, @corefunc/corefunc popularity was classified as not popular.
We found that @corefunc/corefunc 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.