JSPM

  • Created
  • Published
  • Downloads 2820
  • Score
    100M100P100Q111599F
  • License 0BSD

Content entries within the file system

Package Exports

  • content-entry-filesystem

Readme

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status * Parameters * filename * isExistent * isEmpty * readStream * writeStream * getReadStream * Parameters * getWriteStream * Parameters## FileSystemEntry**Extends StreamContentEntryMixin(ContentEntry)*A ContentEntry backed by a file.### Parameters name string of the file

  • baseDir string directory the file is located in### filenameAbsolute file path.Returns string ### isExistentCheck for presence of the entry.Returns Promise<boolean> ### isEmptyCheck is entry represents an empty file.Returns Promise<boolean> ### readStreamReturns Readable ### writeStreamReturns Writable ### getReadStream#### Parameters* options Meta* deprecated: This is deprecated.### getWriteStream#### Parameters* options Meta* deprecated: This is deprecated.# installWith npm do: ```shellnpm install content-entry ```# licenseBSD-2-Clause