Skip to content

Latest commit

 

History

History
58 lines (54 loc) · 1.85 KB

README.md

File metadata and controls

58 lines (54 loc) · 1.85 KB

Katxupa


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`);
        })
})

Documentation

Docs ESLint Linkedin TSDoc

Project Configuration

  1. Add Katxupa library to project dependencies
# When using npm
npm install katxupa
# When using pnpm
pnpm add katxupa
# When using yarn
yarn add katxupa
  1. 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
  1. Activate ESLint config
// .eslintrc.js
module.exports = {
    root: true,
    env: {node: true},
    extends: ["eslint:recommended", "katxupa"],
   ...
};