Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@kaciras/utilities
Advanced tools
A set of common JS functions for Node and browser.
Goals:
This package is pure ESM, it cannot be require()
'd from CommonJS.
pnpm i @kaciras/utilities
The package has 2 entry points. Most functions work for both, but there are still some differences:
@kaciras/utilities/browser
can be imported from any environment, also have functions work with DOM.@kaciras/utilities/node
have no browser-specific functions, but add utilities for Node, it can only be used in NodeJS.// Use in Node.
import { /* ... */ } from "@kaciras/utilities/node";
// Use in other environment.
import { /* ... */ } from "@kaciras/utilities/browser";
Build the project:
pnpm build
Run tests. Some tests are for generated bundles, you should build them first.
pnpm run test:unit
pnpm run test:browser
pnpm run test:types
FAQs
A set of commonly used JS functions implemented with best practices.
The npm package @kaciras/utilities receives a total of 14 weekly downloads. As such, @kaciras/utilities popularity was classified as not popular.
We found that @kaciras/utilities demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.