Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@corefunc/corefunc

Package Overview
Dependencies
Maintainers
1
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@corefunc/corefunc

Collection of utilities

  • 0.3.57
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-33.7%
Maintainers
1
Weekly downloads
 
Created
Source

CoreFunc

CoreFunc

NPM Version NPM Downloads Maintainability Rating CodeFactor


CoreFunc - is a collection of core functions for various tasks. It consists of useful one-liner helpers and more complicated functions.

➡️ C o r e F u n c . G i t H u b . i o ⬅️

Introduction

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.


CommonJS import
const {
  bubbleSort
} = require("@corefunc/corefunc/array/sort/bubble.cjs");
bubbleSort([3, 1, 2]);
ECMAScript Module
import {
  bubbleSort
} from "@corefunc/corefunc/array/sort/bubble.mjs";
bubbleSort([3, 1, 2]);
TypeScript
import {
  bubbleSort
} from "@corefunc/corefunc/array/sort/bubble";
bubbleSort([3, 1, 2]);

See also

My other projects

Open Source Map

Also there is more useful links:


Keywords

FAQs

Package last updated on 14 Oct 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc