fstream.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. exports.Abstract = require('./lib/abstract.js')
  2. exports.Reader = require('./lib/reader.js')
  3. exports.Writer = require('./lib/writer.js')
  4. exports.File = {
  5. Reader: require('./lib/file-reader.js'),
  6. Writer: require('./lib/file-writer.js')
  7. }
  8. exports.Dir = {
  9. Reader: require('./lib/dir-reader.js'),
  10. Writer: require('./lib/dir-writer.js')
  11. }
  12. exports.Link = {
  13. Reader: require('./lib/link-reader.js'),
  14. Writer: require('./lib/link-writer.js')
  15. }
  16. exports.Proxy = {
  17. Reader: require('./lib/proxy-reader.js'),
  18. Writer: require('./lib/proxy-writer.js')
  19. }
  20. exports.Reader.Dir = exports.DirReader = exports.Dir.Reader
  21. exports.Reader.File = exports.FileReader = exports.File.Reader
  22. exports.Reader.Link = exports.LinkReader = exports.Link.Reader
  23. exports.Reader.Proxy = exports.ProxyReader = exports.Proxy.Reader
  24. exports.Writer.Dir = exports.DirWriter = exports.Dir.Writer
  25. exports.Writer.File = exports.FileWriter = exports.File.Writer
  26. exports.Writer.Link = exports.LinkWriter = exports.Link.Writer
  27. exports.Writer.Proxy = exports.ProxyWriter = exports.Proxy.Writer
  28. exports.collect = require('./lib/collect.js')