tevari
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

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 tevari

Yarn:

yarn add tevari

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 "tevari";

// ...

assert(StringHelpers.plainify("Weìrd") === "Weird");

Import the desired helper method directly:

import assert from "assert";
import { stringPlainify } from "tevari";

// ...

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 ? 🪄

/tevari/

    Package Sidebar

    Install

    npm i tevari

    Weekly Downloads

    51

    Version

    1.7.0

    License

    MIT

    Unpacked Size

    5.98 MB

    Total Files

    220

    Last publish

    Collaborators

    • sebastien_halbeher