Skip to content

phphe/helper-js

Repository files navigation

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(...).

About

js functions, import on demand.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published