test-a-module

1.0.4 • Public • Published

这是一个用webpack构建的测试模块模板。可以使用es6编写,最终支持es5和es6的两种引入方式

# install
npm i -D test-a-module
import {TestModule, HandleData} from 'test-a-module'
 
const tm = new TestModule({ name: 'testExample' })
tm.say()
 
const hd = new HandleData()
hd.save({ name: '张三', age: 26 })
console.log(hd.get('name'))

Readme

Keywords

Package Sidebar

Install

npm i test-a-module

Weekly Downloads

2

Version

1.0.4

License

ISC

Unpacked Size

12.8 kB

Total Files

11

Last publish

Collaborators

  • jerry2359