@phucbm/get-options-from-html-attr

Parses options from a specified attribute of a target element, with support for default values, numeric conversion, and JSON validation.

Browse on unpkg