-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 5.41 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 5.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "getmac",
"version": "1.0.6",
"description": "Get the mac address of the current machine you are on",
"homepage": "https://github.com/bevry/getmac",
"license": {
"type": "MIT"
},
"badges": {
"travis": true,
"npm": true,
"gittip": "bevry",
"flattr": "344188/balupton-on-Flattr",
"paypal": "QB8GQPZAH84N6"
},
"keywords": [
"mac",
"mac-address",
"ifconfig",
"ipconfig",
"getmac"
],
"author": {
"name": "2013+ Bevry Pty Ltd",
"email": "us@bevry.me",
"url": "http://bevry.me"
},
"maintainers": [
{
"name": "balupton",
"email": "b@lupton.cc"
}
],
"contributors": [
{
"name": "Benjamin Lupton",
"email": "b@lupton.cc",
"url": "https://github.com/balupton"
}
],
"bugs": {
"url": "https://github.com/bevry/getmac/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bevry/getmac.git"
},
"engines": {
"node": ">=0.4"
},
"dependencies": {
"extract-opts": "~2.2.0"
},
"devDependencies": {
"coffee-script": "~1.6.3",
"chai": "~1.8.1",
"joe": "~1.3.0",
"joe-reporter-console": "~1.2.1",
"projectz": "~0.2.3"
},
"directories": {
"lib": "./out/lib"
},
"bin": {
"getmac-node": "./bin/getmac-node"
},
"scripts": {
"test": "node ./out/test/everything-test.js"
},
"main": "./out/lib/getmac",
"readme": "\n<!-- TITLE/ -->\n\n# getmac\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n[](http://travis-ci.org/bevry/getmac \"Check this project's build status on TravisCI\")\n[](https://npmjs.org/package/getmac \"View this project on NPM\")\n[](https://www.gittip.com/bevry/ \"Donate weekly to this project using Gittip\")\n[](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the mac address of the current machine you are on\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [Node](http://nodejs.org/), [Browserify](http://browserify.org/)\n- Use: `require('getmac')`\n- Install: `npm install --save getmac`\n\n### [Ender](http://ender.jit.su/)\n- Use: `require('getmac')`\n- Install: `ender add getmac`\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n### CLI\n\n1. Install Globally: `install -g getmac`\n2. Run with: `getmac-node`\n\n### API\n\n```\n// Fetch the computer's mac address\nrequire('getmac').getMac(function(err,macAddress){\n\tif (err) throw err;\n\tconsole.log(macAddress);\t\n});\n\n// Validate that an address is a mac address\nif ( require('getmac').isMac(\"e4:ce:8f:5b:a7:fc\") ) {\n\tconsole.log('valid mac');\n}\nelse {\n\tconsole.log('invalid mac');\n}\n```\n\n\n\n<!-- HISTORY/ -->\n\n## History\n[Discover the change history by heading on over to the `History.md` file.](https://github.com/bevry/getmac/blob/master/History.md#files)\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n## Contribute\n\n[Discover how you can contribute by heading on over to the `Contributing.md` file.](https://github.com/bevry/getmac/blob/master/Contributing.md#files)\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Maintainers\n\nThese amazing people are maintaining this project:\n\n- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)\n\n### Sponsors\n\nNo sponsors yet! Will you be the first?\n\n[](https://www.gittip.com/bevry/ \"Donate weekly to this project using Gittip\")\n[](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n\n### Contributors\n\nThese amazing people have contributed code to this project:\n\n- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton) - [view contributions](https://github.com/bevry/getmac/commits?author=balupton)\n\n[Become a contributor!](https://github.com/bevry/getmac/blob/master/Contributing.md#files)\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n## License\n\nLicensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)\n\nCopyright © 2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)\n\n<!-- /LICENSE -->\n\n\n",
"readmeFilename": "README.md",
"_id": "getmac@1.0.6",
"dist": {
"shasum": "f222c8178be9de24899df5a04e77557fbaf4e522",
"tarball": "http://registry.npmjs.org/getmac/-/getmac-1.0.6.tgz"
},
"_from": "getmac@",
"_npmVersion": "1.3.11",
"_npmUser": {
"name": "balupton",
"email": "b@lupton.cc"
},
"_shasum": "f222c8178be9de24899df5a04e77557fbaf4e522",
"_resolved": "https://registry.npmjs.org/getmac/-/getmac-1.0.6.tgz"
}