Sha256: 2ad875a366acc5d8fc4cd19cf14703ec7ebc3e2f40e05654f44ab0e309038800
Contents?: true
Size: 231 Bytes
Versions: 23
Compression:
Stored size: 231 Bytes
Contents
'use strict'; module.exports = str => { const match = str.match(/^[ \t]*(?=\S)/gm); if (!match) { return 0; } // TODO: Use spread operator when targeting Node.js 6 return Math.min.apply(Math, match.map(x => x.length)); };
Version data entries
23 entries across 23 versions & 1 rubygems