fswin
TypeScript icon, indicating that this package has built-in type declarations

3.24.829 • Public • Published

Introduction Build with node-gyp

fswin is a native node.js add-on that works on windows. It has ported some platform specified filesystem APIs. And made them easy to use in javascript.

For api documents and examples please see wiki

NOTE: fswin depends on n-api since v3. which requires node.js v8 or later.

How to Install

You may install fswin by using the following command line:

npm install fswin

The package contains prebuilt binaries for node.js, electron and nw.js on all architectures.

How to Build

first you need to install Visual Studio 2019 or later.

then you need to install Python

then you need to install node-gyp

npm -g install node-gyp

then you need to clone the repo

git clone https://github.com/xxoo/node-fswin.git
cd node-fswin

finally you can build the source

for node.js:

node-gyp rebuild

for electron:

node-gyp rebuild --target=x.x.x --dist-url=https://atom.io/download/electron

for nw.js please follow the official document

Package Sidebar

Install

npm i fswin

Weekly Downloads

120,596

Version

3.24.829

License

MIT

Unpacked Size

521 kB

Total Files

8

Last publish

Collaborators

  • xxoo