New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kaciras/utilities

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaciras/utilities

A set of common JS functions for node and browser.

  • 0.6.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-6.25%
Maintainers
1
Weekly downloads
 
Created
Source

Utilities

npm Test codecov

A set of common JS functions for Node and browser.

Goals:

  • Just work for most cases, not a general framework.
  • High performance & less code.
  • Write with latest ECMAScript.
  • Tree-shakeable.
  • Not duplicated with FP libraries (lodash, underscore, etc.)

Install

This package is pure ESM, It cannot be require()'d from CommonJS.

pnpm i @kaciras/utilities

The package has 2 entry points, "./node" for Node runtime and "./browser" for browsers. Most functions work for both, there are still a few functions that only work in specific runtime.

// Import for Node.
import { /* ... */ } from "@kaciras/utilities/node";

// Import for browser
import { /* ... */ } from "@kaciras/utilities/browser";

Keywords

FAQs

Package last updated on 08 Feb 2023

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