![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
A wrapper around modern JavaScript tools.
npm i -D doogu
This package contains the following dependencies, for development purposes:
cross-platform
command line utility to watch file system changesThe configuration file that can be use with other projects.
tsconfig
Extending the shareable config for TypeScript in tsconfig.json
file:
{
"extends": "doogu/config/tsconfig.json"
}
eslint
Extending the shareable config for ESLint in package.json
file:
{
"name": "mypackage",
"version": "1.0.0",
"eslintConfig": {
"extends": "./node_modules/doogu/config/eslint.json"
},
"eslintIgnore": ["hello.ts", "world.ts"]
}
prettier
Extending the shareable config for Prettier in package.json
file:
{
"name": "mypackage",
"version": "1.0.0",
"prettier": "doogu/config/prettier.json"
}
The commands that can be use in package.json
file:
{
"name": "mypackage",
"version": "1.0.0",
"scripts": {
"start": "npm run build && npm run watch",
"watch": "chokidar \"src/*.ts\" -c \"npm run build\"",
"lint": "tsc --noEmit && eslint \"./src\" --ext \".ts\" --cache --cache-location \"node_modules/.cache/.eslintcache\"",
"build": "swc \"./src\" -d \"dist\" && tsc -d --emitDeclarationOnly --outDir \"dist\"",
"test": "node --experimental-vm-modules --no-warnings ./node_modules/jest/bin/jest.js --verbose",
"coverage": "npm test -- --coverage"
}
}
We 💛 issues.
When committing, please conform to the semantic-release commit standards. Please install commitizen
and the adapter globally, if you have not already.
npm i -g commitizen cz-conventional-changelog
Now you can use git cz
or just cz
instead of git commit
when committing. You can also use git-cz
, which is an alias for cz
.
git add . && git cz
A project by Stilearning © 2022.
FAQs
A wrapper around modern JavaScript tools
The npm package doogu receives a total of 539 weekly downloads. As such, doogu popularity was classified as not popular.
We found that doogu 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.