1.1.4 • Published 6 years ago
@appnroll/template-lib v1.1.4
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-libUsage
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"]