Parse hyperscript class notation. Extracted from hyperscript.
var parseClass = require('parse-class')
var obj = parseClass('foo.bin.baz#bar')
console.log(obj)
// => {
// name: foo,
// class: 'bin baz',
// id: 'bar'
// }
Parse a string into an object.