indentation-length
Returns the indentation length of a string. Tabs and spaces are treated equally.
const indentation =const indented = ' whammy'console // 3const str = 'bam'console // 0
Returns the indentation length of a string. Tabs and spaces are treated equally.
const indentation =const indented = ' whammy'console // 3const str = 'bam'console // 0
npm i indentation-length
0
0.0.1
MIT