【文件属性】:
文件名称:get-macs:获取字符串中的所有MAC地址
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-02 03:34:51
JavaScript
获取macs
获取字符串中包含的所有MAC地址。
安装
npm i --save get-macs
用法
var isMac = require ( 'get-macs' )
isMac ( 'no macs here' )
// => []
isMac ( 'aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff' )
// => ['aa-bb-cc-dd-ee-ff', 'aa:bb:cc:dd:ee:ff']
isMac ( { } )
// => throws TypeError
执照
麻省理工学院
贡献
叉它
创建功能分支( git checkout -b my-new-feature )
提交更改( git commit -am 'Add some feature' )
推送到分支( git push origin my-new-feature )
创
【文件预览】:
get-macs-master
----test.js(488B)
----license(1KB)
----.travis.yml(74B)
----.editorconfig(197B)
----.gitignore(13B)
----index.js(199B)
----readme.md(1KB)
----package.json(776B)