FakeFileSystem.js

library to simulate a simple file system in javascript ๐Ÿ’พ

View on GitHub

FakeFileSystem.js ๐Ÿ’พ

library to simulate a simple file system in javascript ๐Ÿ’พ

JsDelivr

<script src="https://cdn.jsdelivr.net/gh/SkwalExe/FakeFileSystem.js@v0.5.0/dist/ffs.min.js"></script>

NPM module

Install the npm module

npm install fakefilesystem

And import it in your project

const FFS = require('fakefilesystem');

let myFileSystem = new FFS()

Setting up

You can import the library into you website with JsDelivr or, you can use the npm module and import it in your project.

Wiki ๐Ÿ“–

To learn more about how to use the module, check out the wiki. It contains very much a lot of informations

final

If you have any problem, donโ€™t hesitate to open an issue

Contributing

  1. Start by forking this repository

  2. Then clone your fork to your local machine.
      git clone https://github.com/your-username/FakeFileSystem.js.git
    
  3. Install dev dependencies
      npm install --save-dev
    
  4. Create a new branch
      git checkout -b super-cool-feature
    
  5. Then make your changes

  6. Run tests
      npm test
    
  7. Update the changelog and version number if needed (using Semantic Versioning) ```bash # bug fix npm version patch โ€“no-git-tag-version

# add a new feature npm version minor โ€“no-git-tag-version

# changes that break backwards compatibility npm version major โ€“no-git-tag-version


8. List and correct linting errors
  ```bash
  npm run lint
  1. Update the minified version of the library
      npm run build
    
  2. Once youโ€™re done, commit your changes and push them to the remote repository.
      git add --all
      git commit -m "Add super-cool-feature"
      git push origin super-cool-feature
    
  3. Then, open a pull request on GitHub from your fork.
    1. Go to this link
    2. Click compare across forks
    3. On the right, on head repository select your fork
    4. And on compare select the branch you just created
    5. Click on Create Pull Request and submit your pull request