~exprez135/taliaferro

ref: 8b6e0f7c019f532841af40b950c4048422232234 taliaferro/node_modules/trim-leading-lines/.verb.md -rw-r--r-- 533 bytes
8b6e0f7c — Nate rebuilding site Sun Feb 9 13:47:19 CST 2020: Fix navbar symbols showing up first. 1 year, 11 months ago

#Usage

var trimLeadingLines = require('{%= name %}');

Example

Given the following in foo.txt:

                  
                  
                  
                  
                    GNU AFFERO GENERAL PUBLIC LICENSE
                       Version 3, 19 November 2007

This:

var str = fs.readFileSync('foo.txt', 'utf8');
console.log(trimLeadingLines(str));

Results in:

                    GNU AFFERO GENERAL PUBLIC LICENSE
                       Version 3, 19 November 2007