electronade-os
v0.1.2
Published
It provides the feature about os for electronade.
Downloads
4
Readme
electronade-os
It's a package for electronade that provides some feature of Node.js os class.
See electronade-os.netlify.app also.
Installation
npm install electronade-os
What Exposed
electronade: {
os: {
homedir: () => Promise<string>;
platform: () => Promise<string>;
tmpdir: () => Promise<string>;
}
}
Usage
See electronade usage for details.
console.log(
await electronade.os.homedir()
); // same as homedir()
console.log(
await electronade.os.platform()
); // same as platform()
console.log(
await electronade.os.tmpdir()
); // same as tmpdir()