This will load the folder test/chrome-app as an unpacked extension in chrome.
Test currently designed for Chrome on Windows and Linux Canary on Mac other variants accepted
Permissions
It is recommended that the following permissions are added to your chrome packaged app for this module.
"permissions": [
"unlimitedStorage"
]
Caveats
Relative Directories
Chrome Packaged Apps don't have the notion of current working directory CWD.
So relative paths are not escapted they are trimmed to be relative from root
i.e.
../../direct1/file1 Will resolve to /direct1/file1
. Will resolve to /
Ownership Mod Mapping
Chrome Packaged Apps allow you to see and edit the filesystem from the dev tools so the chown, fchown, chmod, fmod calls are there for compatibility only.
Any chown call will not be reflected in stat
Stat
Best effort has been made to support stat but the Chrome File System is not a complete implementation.
Files have size and last modified but directories have no size and default to the start of epoc for last modified.
Encoding
Currently only UTF-8 is supported
File Extensions
There seems to be an issue around saving files in chomefs
The npm package chrome-fs receives a total of 15 weekly downloads. As such, chrome-fs popularity was classified as not popular.
We found that chrome-fs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.
Package last updated on 05 Aug 2015
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."