Template lib
Template lib catalog to share how to setup package for the next lib in the monorepo.
Install
npm install @appnroll/template-lib
# or
yarn add @appnroll/template-lib
Usage
JS
const fn = require("@appnroll/template-lib").default
console.log("fn: ", fn(["A", "A", "B"])) // -> ["A", "B"]
TS
import fn from "@appnroll/template-lib"
console.log("fn: ", fn(["A", "A", "B"])) // -> ["A", "B"]