mtfunit

1.0.2 • Public • Published

mtfUnit

coverage compatibility module-support
Mtfunit is a tiny JavaScript library that includes useful functions to operate strings and DOM

Guide

Node

Setup

npm i mtfunit -D

Usage

import { query } from 'mtfunit'
query('a', 'a = 1') // 1

use require will be fine too

Browser

Setup

<script src="https://cdn.jsdelivr.net/npm/mtfunit@1.0.1/dist/mtfunit.min.js"></script>

Usage

<script>
mtfUnit.query('a', 'a = 1') // 1
</script>

use requirejs will be fine too

Document

Read Document for more functions and details
Read Test Report for coverage

ToDo

DOM module will be independent in the future

  • mtfUnit
  • mtfUnitDom

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i mtfunit

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

1.97 MB

Total Files

80

Last publish

Collaborators

  • mantoufan