getmac

v5.2.0-next.1588740871.bc28d2425fec3ae48435b34ad8588b7e067a98e7
Get the MAC address of the current machine you are on.
export-default getmac ifconfig ipconfig mac mac-address node typed types and 2 more...

our:clean

rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next

our:compile

npm run our:compile:edition-esnext

our:compile:edition-esnext

tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true

our:deploy

echo no need for this project

our:meta

npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz

our:meta:contributors

npx @bevry/update-contributors

our:meta:docs

npm run our:meta:docs:typedoc

our:meta:docs:typedoc

rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name "$npm_package_name" --readme ./README.md --out ./docs ./source

our:meta:projectz

npx projectz compile

our:release

npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push

our:release:check-changelog

cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)

our:release:check-dirty

git diff --exit-code

our:release:prepare

npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta

our:release:push

git push origin master && git push origin --tags

our:release:tag

export MESSAGE=$(cat ./HISTORY.md | sed -n "/## v$npm_package_version/,/##/p" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test "$MESSAGE" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am "$MESSAGE"

our:setup

npm run our:setup:install

our:setup:install

npm install

our:test

npm run our:verify && npm test

our:verify

npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript

our:verify:directory

npx valid-directory

our:verify:eslint

npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source

our:verify:prettier

prettier --write .

our:verify:typescript

tsc --noEmit --project tsconfig.json

test

node ./edition-esnext/test.js
npm i getmac@5.2.0-next.1588740871.bc28d2425fec3ae48435b34ad8588b7e067a98e7

Metadata

  • MIT
  • >=10
  • 2013+ Bevry Pty Ltd
  • released 5/6/2020

Downloads