All Projects → bevry → Getmac

bevry / Getmac

Licence: other
Get the mac address of the current machine you are on via Node.js

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Getmac

code runner.nvim
Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
Stars: ✭ 234 (-10.34%)
Mutual labels:  executable
ELFDump
ELFDump is a C parser for ELF64 object files.
Stars: ✭ 15 (-94.25%)
Mutual labels:  executable
you-get.exe
You-Get unofficial build executable for Windows || You-Get 非官方构建的可执行文件
Stars: ✭ 40 (-84.67%)
Mutual labels:  executable
xbedump
Tool to dump header information or sign original Xbox executables
Stars: ✭ 18 (-93.1%)
Mutual labels:  executable
get-bin-path
Get the current package's binary path
Stars: ✭ 25 (-90.42%)
Mutual labels:  executable
FullProxy
Bind and reverse connection based, SOCKS5, HTTP and PortForward based portable proxy
Stars: ✭ 22 (-91.57%)
Mutual labels:  executable
cmake-init
The missing CMake project initializer
Stars: ✭ 1,071 (+310.34%)
Mutual labels:  executable
ExecutionMaster
Windows utility for intercepting process creation and assigning standard actions to program startup
Stars: ✭ 54 (-79.31%)
Mutual labels:  executable
parcl
Gradle plugin for bundling your Java application for distribution on Windows, Mac and Linux
Stars: ✭ 52 (-80.08%)
Mutual labels:  executable
HatVenom
HatVenom is a HatSploit native powerful payload generation tool that provides support for all common platforms and architectures.
Stars: ✭ 84 (-67.82%)
Mutual labels:  executable
wasm-joey
Serverless Wasm - A lightweight Node.js application for deploying and executing WebAssembly(Wasm) binary-code via HTTP
Stars: ✭ 48 (-81.61%)
Mutual labels:  executable
mem64
Run Any Native PE file as a memory ONLY Payload , most likely as a shellcode using hta attack vector which interacts with Powershell.
Stars: ✭ 26 (-90.04%)
Mutual labels:  executable
basgo
basgo compiles BASIC-lang to Golang. Then 'go build' can translate code to native executable binary.
Stars: ✭ 31 (-88.12%)
Mutual labels:  executable
movForth
LLVM frontend for the Forth Language
Stars: ✭ 71 (-72.8%)
Mutual labels:  executable
dogfood
A tool for building self contained Lua executables
Stars: ✭ 26 (-90.04%)
Mutual labels:  executable
lookpath
The minimum and most straightforward way to check if command exists and where the executable is, without spawning child_process.
Stars: ✭ 49 (-81.23%)
Mutual labels:  executable
upx
Node.js cross-platform wrapper for UPX - the ultimate packer for eXecutables.
Stars: ✭ 27 (-89.66%)
Mutual labels:  executable
executive
🕴Elegant command execution for Node.
Stars: ✭ 37 (-85.82%)
Mutual labels:  executable
envfile
Parse and write environment files with Node.js
Stars: ✭ 42 (-83.91%)
Mutual labels:  executable
make-deno-edition
Automatically makes package.json projects (such as npm packages and node.js modules) compatible with Deno.
Stars: ✭ 39 (-85.06%)
Mutual labels:  executable

getmac

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

Get the MAC address of the current machine you are on.

This library will not run in web browsers / on the client-side / in webpack / in browserify / in angular / in react / in jQuery / in HTML. It will only run on Node.js environments, which the web browser is not.

Usage

Complete API Documentation.

CLI

Install globally npm install -g getmac, then run with getmac-node

API

Install locally npm install --save getmac, then use like so:

import getMAC, { isMAC } from 'getmac'

// Fetch the computer's MAC address
console.log(getMAC())

// Fetch the computer's MAC address for a specific interface
console.log(getMAC('eth0'))

// Validate that an address is a MAC address
if (isMAC('e4:ce:8f:5b:a7:fc')) {
    console.log('valid MAC')
} else {
    console.log('invalid MAC')
}

Advanced

If you want to do advanced filtering, use os.networkInterfaces() instead.

Install

npm

  • Install: npm install --save getmac
  • Import: import pkg from ('getmac')
  • Require: const pkg = require('getmac').default

Editions

This package is published with the following editions:

History

Discover the release history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].