Delicious Dish for Typescript and JavaScript projects
runIt(() => {
console.log(`🎉 Welcome to Katxupa library 💖`);
"Katxupa"
.alsoIt(it => console.log(`🍲 ${it} was cooked for your delight 🍲`))
.takeIf(it => it.startsWith("Katxupa"))
?.runIt(function() {
console.log(`🍻 By Manuel Santos`);
console.log(`🙈 https://github.com/manusant`);
})
})
- Add Katxupa library to project dependencies
# When using npm
npm install katxupa
# When using pnpm
pnpm add katxupa
# When using yarn
yarn add katxupa
- Add eslint-config-katxupa ESLint configs
# When using npm
npm install --save-dev eslint-config-katxupa
# When using pnpm
pnpm add --save-dev eslint-config-katxupa
# When using yarn
yarn add --dev eslint-config-katxupa
- Activate ESLint config
// .eslintrc.js
module.exports = {
root: true,
env: {node: true},
extends: ["eslint:recommended", "katxupa"],
...
};