string-types
v1.0.1
Published
A simple library that combines data as one string. Can be used to add class attributes to html elements.
Downloads
2
Maintainers
Readme
string-types
A simple library that combines data as one string. Can be used to add class attributes to html elements.
Install
$ npm i string-types
OR
$ yarn add string-types
Example
var StringTypes = require('string-types');
StringTypes('john', 'doe') // => 'john doe'
StringTypes('john', ['doe', { 'yan' : true }]) // => 'john doe yan'
StringTypes({'john': false, 'doe': true}) // => 'doe'
Our blogs
See Meanstack.eu - voil See Meandjs - ddosdor
License
MIT
Ready to Rock&Roll, Hell Yeah!