【文件属性】:
文件名称:webShortener:用于缩短 ID 和类名的实用程序
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-16 02:05:08
JavaScript
网络缩短器
用于缩短 ID 和类名的实用程序。
安装
npm install -g webshortener
用法
命令行界面
webshortener [-h path] [--html path] [-c path] [--css path] [-j path] [--js path] [-o path] [--output path] path ...更多在man webshortener
作为图书馆
应用程序接口
所有流的通用信息容器new Shortener();
不同文件类型的缩短流
new Shortener().htmlShortener
new Shortener().cssShortener
new Shortener().jsShortener
例子
var Shortener = require ( 'webShortener' ) ;
var shrtn
【文件预览】:
webShortener-master
----AUTHORS(38B)
----lib()
--------jsShortener.js(4KB)
--------webShortener.js(642B)
--------shortUtil.js(483B)
--------cssShortener.js(2KB)
--------htmlShortener.js(4KB)
----.travis.yml(40B)
----LICENSE(1KB)
----test()
--------test.js(3KB)
--------assets()
----README.md(2KB)
----man()
--------webshortener.1(2KB)
----.gitignore(24B)
----bin()
--------webshortener(3KB)
----package.json(1KB)
----CHANGELOG(414B)