Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@jensmeindertsma/package-template
Advanced tools
A template for quick-starting your NPM package.
A template for quick-starting your NPM package.
This project includes fully automated formatting, linting, testing, type-checking and publishing. It gives you everything you need to publish your own package to the NPM registry with confidence. By default this project will publish a new version to the NPM registry when you push a commit to the main branch that has a tag with the same name. See the package.json
file for included scripts.
To help move the ecosystem forward, this package only supports ECMAScript Modules. It does not provide CommonJS modules. You can import this package from CommonJS, but only asynchronously. The user of your package must have TypeScript@<4.5-beta or higher> installed and must have set "module": "nodenext"
in his tsconfig.json
file.
To use this yourself, add a NPM_TOKEN
secret to your GitHub repository containing an API token you can retrieve from the NPM website under "Account Settings". This is needed for the automated publishing.
This package includes a basic add
function that just demonstrates the functionality of the package.
add
The function add
adds two numbers together and returns the result:
import { add } from "@jensmeindertsma/template-package";
const result = add(2, 3);
expect(result).toEqual(5);
FAQs
A template for quick-starting your NPM package.
The npm package @jensmeindertsma/package-template receives a total of 0 weekly downloads. As such, @jensmeindertsma/package-template popularity was classified as not popular.
We found that @jensmeindertsma/package-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.