Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@schlandower/filelinesarray

Schlandower5GPL-3.01.0.3

Return the contents of a file as an array of lines.

file, contents, array, lines, php, promise

readme

filelinesarray

Read the lines of a file into an array. 1 line per array position.

Example usage: var filelinesarray = require('@schlandower/filelinesarray'); var fla = filelinesarray('/path/to/you/file');

changelog

24/10/2020 first published