dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.63k stars 278 forks source link

localStorage interface is missing clear() #281

Closed jacktuck closed 5 years ago

jacktuck commented 6 years ago

https://www.w3.org/TR/webstorage/#storage-0

The clear() method must atomically cause the list associated with the object to be emptied of all key/value pairs, if there are any. If there are none, then the method must do nothing.

Is this status-by-design or an oversight? Furthermore, would you accept a PR to add clear method?