@secrez/fs

1.0.4 • Public • Published

@secrez/fs

Secrez is the secrets manager for the cryptocurrencies era.

This is the filesystem component.

@secrez/fs exposes:

  • InternalFs
  • ExternalFs
  • FsUtils
  • Tree
  • Node
  • DataCache
  • FileCipher (starting from 1.0.3)

TODO

API documentation

History

1.0.3

  • Move encryptFile and decryptFile from ExternalFs to FileCipher

1.0.2

  • Adds encryptFile and decryptFile to ExternalFs

Test coverage

  97 passing (3s)
  1 pending

---------------|---------|----------|---------|---------|-------------------------------------------
File           | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                         
---------------|---------|----------|---------|---------|-------------------------------------------
All files      |   80.92 |     68.1 |   85.21 |   80.54 |                                           
 DataCache.js  |   89.41 |    74.07 |   90.91 |   89.29 | 17-23,122-123,149                         
 ExternalFs.js |   94.03 |    76.92 |     100 |   93.94 | 9,29,35,54                                
 FileCipher.js |   88.64 |    73.33 |     100 |   88.64 | 8,52,80,85,94                             
 FsUtils.js    |     100 |      100 |     100 |     100 |                                           
 InternalFs.js |   86.99 |    72.63 |   88.46 |   86.89 | ...25,257,274,283,328,339,359,418-423,455 
 Messages.js   |     100 |      100 |     100 |     100 |                                           
 Node.js       |   65.82 |    55.19 |   78.72 |   65.03 | ...67,579-605,644-648,666,669,683-720,729 
 Tree.js       |   83.65 |    70.48 |   81.08 |   83.19 | ...72,417-439,466,476,530,622,630,661-672 
---------------|---------|----------|---------|---------|-------------------------------------------

Copyright

(c) 2020-present Francesco Sullo (francesco@sullo.co)

Licence

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @secrez/fs

Weekly Downloads

42

Version

1.0.4

License

MIT

Unpacked Size

72.6 kB

Total Files

13

Last publish

Collaborators

  • sullof