1.0.1 • Published 7 years ago
attribute-string v1.0.1
attribute-string
Generate html attribute strings
Install
$ npm install --save attribute-string
Usage
const attributeString = require('attribute-string');
attributeString({ href: 'https://google.com' });
//=> 'href="https://google.com"'
API
attributeString(attributes)
attributes
Type: object
License
MIT © Tobias Herber