Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@edgeandnode/common
Advanced tools
Set of common util functions, constants, and types
This project implements and contains common utils and models/types to be ingested and utilized by other Edge & Node repos.
pnpm install
to install all dependencies.pnpm build
to bundle all files using rolluppnpm publish
to publish to NPMThis repo uses vitest
for its test suite/runner. To run the tests:
vitest test
All source code belongs in the src
directory. Inside of this directory, it is broken up by domain (ex: utils
) and all files in the domain directory should contain code that matches that domain (ex: graphql.utils.ts
). File names should be kebob-case
and have the file domain type appended with a .
before the file extension (i.e. all files in src/utils
should be follow {utils-type}.utils.ts
. ex: graphql.utils.ts
). Test files belong at the same level as the file they are putting under test and should follow the same naming convention as the file they are putting under test with .test
appended before the file extension (i.e. {utils-type}.utils.test.ts
. ex: graphql.utils.test.ts
).
FAQs
Set of common util functions, constants, and types
We found that @edgeandnode/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.