npm.io
1.0.1 • Published 9 years ago

attribute-string

Licence
MIT
Version
1.0.1
Deps
1
Vulns
0
Weekly
0

attribute-string Build Status

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