Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 460 Bytes

Readme.md

File metadata and controls

37 lines (23 loc) · 460 Bytes

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>