Add Attribute class
Open
- Dominant language
- JavaScript
- Stars
- 690
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
One more thing is to add Attribute, which _should not_ inherit from `Node`, so this would be enough
```js
class Attribute {
constructor (name, value, ns) {
this.nodeType = 2
this.name = name
this.value = value
this.namespaceURI = ns
}
}
```
I can PR with fixes and updates addressed in couple of issues, do you want such PR?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.