getmac

v5.20.0-next.1627593726.e7cd9844b817a1faac9c5e2e60030f98a528c92d
Get the MAC address of the current machine you are on.
es2019 export-default getmac ifconfig ipconfig mac mac-address node typed and 3 more...

our:clean

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

our:compile

npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types

our:compile:deno

make-deno-edition --attempt

our:compile:edition-es2019

tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{"type": "commonjs"}' > edition-es2019/package.json

our:compile:edition-es2019-esm

tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{"type": "module"}' > edition-es2019-esm/package.json

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

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

our:meta:contributors

update-contributors

our:meta:docs

npm run our:meta:docs:typedoc

our:meta:docs:typedoc

rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source

our:meta:projectz

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

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-es2019/test.js
npm i getmac@5.20.0-next.1627593726.e7cd9844b817a1faac9c5e2e60030f98a528c92d

Metadata

  • MIT
  • >=10
  • 2013+ Bevry Pty Ltd
  • released 7/29/2021

Downloads