package
Append strings with strings
npm install huggGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Append strings on both sides of deeply nested strings
npm install --save huggconst hugg = require('hugg');
hugg(['word1', 'word2'], '$');
//=> ['$word1$', '$word2$']
hugg('secondWord', '<br>');
//=> '<br>secondWord<br>'Type: Anything
Type: string
Appends pattern on each side of target. Target can be of any data type - although changes will only happen if it contains a nested string as described in deep-blue-string. Hugg will iterate into deeply nested strings in order to alter all occurences of the target
MIT © dawsonbotsford
Estimated unpacked size across 4 packages.
3.4 kB
Includes dependencies.