@lambrioanpm/assumenda-mollitia-harum
v1.0.0
Published
(NPM Package) Collection of various small helpers for javascript and typescript based projects, all tested and documented.
Downloads
2
Maintainers
Keywords
Readme
Tévari 🪨
(NPM Package) Collection of various small helpers for javascript and typescript based projects, all tested and documented.
In Huichol, Tévari means small rocks. This library is just that, small rocks (helpers) designed to ease the development of javascript or typescript projects.
Installing Tévari 🕺
Npm:
npm install @lambrioanpm/assumenda-mollitia-harum
Yarn:
yarn add @lambrioanpm/assumenda-mollitia-harum
Then import Tévari functions wherever needed 🤓
Using Tévari 📖
For each sections (strings, arrays, numbers, ...), there is 2 ways to use tévari helpers:
Import the helper object from the desired section:
import assert from "assert";
import { StringHelpers } from "@lambrioanpm/assumenda-mollitia-harum";
// ...
assert(StringHelpers.plainify("Weìrd") === "Weird");
Import the desired helper method directly:
import assert from "assert";
import { stringPlainify } from "@lambrioanpm/assumenda-mollitia-harum";
// ...
assert(stringPlainify("Weìrd") === "Weird");
Every direct helper method are prefixed by the name of the section in singular. (ie. StringHelpers.plainify
<=> stringPlainify
).
Simple, isn't it ? 🪄