Searched refs:detectNewline (Results 1 – 4 of 4) sorted by relevance
16 const detectNewline = require('detect-newline');18 detectNewline('foo\nbar\nbaz\r\n');25 ### detectNewline(input)29 ### detectNewline.graceful(input)
5 const detectNewline = require('detect-newline') constant66 const newline = detectNewline(packagejson)
7 const detectNewline = require('detect-newline') constant123 newline = detectNewline(data)179 newline = detectNewline(shrinkwrap || lockfile)
7 const detectNewline = require('detect-newline') constant287 const newline = format ? detectNewline(data) : 0