getmac

v5.9.0-next.1592693796.6ebd187083eaa5c29a0a068a0198416b68d6235a
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

yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types

our:compile:deno

make-deno-edition --attempt

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 ) )

our:compile:types

tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )

our:deploy

echo no need for this project

our:meta

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

our:meta:contributors

update-contributors

our:meta:docs

yarn run our:meta:docs:typedoc

our:meta:docs:typedoc

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

our:meta:projectz

projectz compile

our:release

yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn 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

yarn run our:clean && yarn run our:compile && yarn run our:test && yarn 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

yarn run our:setup:install

our:setup:install

/usr/local/bin/yarn install --ignore-engines

our:test

yarn run our:verify && yarn test

our:verify

yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier

our:verify:directory

valid-directory

our:verify:eslint

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 .

test

node ./edition-esnext/test.js
npm i getmac@5.9.0-next.1592693796.6ebd187083eaa5c29a0a068a0198416b68d6235a

Metadata

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

Downloads