0.0.10 • Published 11 years ago

u2g-lite v0.0.10

Weekly downloads
42
License
-
Repository
github
Last release
11 years ago

=======

u2g-lite

一个基于nodejs的转换文件编码的小工具, 检测并转换文件编码

安装

$ npm install ksp -g

使用

var cc = require('u2g-lite')
cc.convert({
    path : '/Users/test/Desktop/demo/',
    targetCharset : 'gbk',
    matchFileType : ['js','css','html']
})

或者在控制台输入命令(前两个参数为路径和目标编码,后面的参数为需要转换的文件类型)

$ u2g-lite /Users/test/Desktop/demo/ gbk html js css

说明

学习nodejs的练手demo,请谨慎使用,一旦出错,盖不负责

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago