
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@quartz/js-utils
Advanced tools
A collection of reusable JavaScript utilities for Quartz products.
A collection of reusable JavaScript utilities for Quartz products, with optional TypeScript support.
All functions are written in TypeScript and transpiled into ES2017 JavaScript (with type definitions).
npm i @quartz/js-utils
Import functions from the js-utils package, e.g.
import { arrayFromRange, resizeWPImage } from '@quartz/js-utils'
TypeScript hints are available if the file into which the functions are imported is a .ts
or .tsx
file.
Functions must be written in TypeScript whenever possible.
Export one function per file with a test suite (.test.js
).
src/index.ts
npm t
)package.json
version using npm version
Use npm publish
to publish the package to npm. TypeScript will be built on publish (via npm run build
).
FAQs
A collection of reusable JavaScript utilities for Quartz products.
The npm package @quartz/js-utils receives a total of 11 weekly downloads. As such, @quartz/js-utils popularity was classified as not popular.
We found that @quartz/js-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.