1.0.1 • Published 6 years ago

string-types v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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!