1.1.0 • Published 9 years ago

miaow-util v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

miaow-util

Miaow的工具集合

使用说明

var mutil = require('miaow-util');

mutil.log('发生了一些事情', '耗费了:', mutil.colors.red('30毫秒'));

mutil.hash(new Buffer('你好'));

mutil.getDataURI('~/foo.png');

colors

chalk 的实例引用

getDataURI(filePath)

获取文件的 data-uri

hash(data)

获取数据的 md5

console

包含了logwarnerror三个打印日志的方法

duration(time)

返回毫秒单位的时间差语义字符串

1.1.0

9 years ago

1.0.0

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago