1.0.2 • Published 9 years ago
nl v1.0.2
nl
Convert linebreaks into newline characters (\n)
Installation
npm install -g nl
Usage
Convert to newlines from a file:
$ cat in.txt | newline > out.txt
Convert to newlines from your clipboard (OSX):
$ pbpaste | newline | pbcopy
Programmatic usage:
var nl = require('nl')
nl(read('./Readme.md'))
License
(The MIT License)
Copyright (c) 2015 Matthew Mueller <matt@lapwinglabs.com>