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

3.1.6 • Public • Published

helper-js

js functions, import on demand. TypeScript supported. API

js 方法库, 按需引入. 支持 TypeScript. API 详细文档

Install / 安装

npm install helper-js --save

Usage / 使用

import {createElementFromHTML} from 'helper-js'
// or
import * as hp from 'helper-js'
hp.createElementFromHTML(...)

API

Type Document

Include in browser directly / 浏览器直接引入

Import dist/index.iife.js. Access functions by global variable helperJs. e.g.: helperJs.createElementFromHTML(...).

引入 dist/index.iife.js. 通过全局变量helperJs访问子方法. 例: helperJs.createElementFromHTML(...).

/helper-js/

    Package Sidebar

    Install

    npm i helper-js

    Weekly Downloads

    10,048

    Version

    3.1.6

    License

    MIT

    Unpacked Size

    462 kB

    Total Files

    9

    Last publish

    Collaborators

    • php_he