generic-functions.mlai
TypeScript icon, indicating that this package has built-in type declarations

0.7.3 • Public • Published

generic-functions

npm version Open issues TypeScript

  • 💪 Have some useful props & functions
  • 📦 light library

Install

npm i generic-functions.mlai

or

yarn add generic-functions.mlai

or

pnpm i generic-functions.mlai

Usage

Once you have installed the module, you can import like this:

// Load all
import * as ml from 'generic-functions.mlai';
console.log( ml.trim('ff fff') );
// ff fff

// only import functions
import * as mlFunc from 'generic-functions.mlai/functions';
console.log( mlFunc.trim('ff fff') );
// ff fff

// only import properties
import { mlProp } from 'generic-functions.mlai/props';

// only import `trim` from the various functions
const { trim } = require('generic-functions.mlai/functions')
console.log( trim('ff fff') );
// ff fff

// only import the `trim` from the module
const { trim: trim2 } = require('generic-functions.mlai')
console.log( trim2('ff fff') );
// ff fff

Contributing

All contributions are welcome!

License

generic-functions.mlai is MIT licensed.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i generic-functions.mlai

      Weekly Downloads

      1

      Version

      0.7.3

      License

      MIT

      Unpacked Size

      135 kB

      Total Files

      15

      Last publish

      Collaborators

      • mathieu-ai