Skip to content

stagas/stringify-attrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stringify-attrs

serialize an object into an html attributes string

example

var stringify = require('stringify-attrs');

var res = stringify({ foo: 'bar', baz: 'zo"o', flag: '' });

console.log(res); // foo="bar" baz="zo"o" flag

License

MIT

About

html attributes serializer

Resources

Stars

Watchers

Forks

Packages

No packages published