All read-file versions

read-file @0.1.2

MIT
License
No
Install Scripts
3
Dependencies
2
Dev Dependencies
3.2 KB
Package Size
Published

Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.

Maintainers

jonschlinkert

Keywords

ascynbombyte order markfile systemfilefsnewlinenormalizeread asyncread fileread syncreadreturnsync

Dependencies (3)

PackageConstraintRegistry Status
async ~0.7.0 auto_approved
graceful-fs ~2.0.3 auto_approved
file-normalize ^0.1.0 auto_approved

Dev Dependencies (2)

PackageConstraintRegistry Status
chai ~1.9.1 auto_approved
verb ~0.2.0 auto_approved

Transitive Dependency Tree

2 transitive deps max depth 1
  ├─ async ~0.7.0 → 0.7.0
  ├─ graceful-fs ~2.0.3 → 2.0.3

Changes from v0.1.1

Dependency Changes

ChangePackageVersion
added file-normalize ^0.1.0

File Changes

1 added 2 removed 4 modified size delta: -1.6 KB

Published to npm: