A JavaScript utility that transforms `.dataset.X` property access into equivalent `getAttribute('data-X')` and `setAttribute('data-X', value)` calls for backward compatibility with older browsers. Version 0.1.2 (last released Jan 2015) fixes simple setters/getters; nested `.dataset` calls remain unsupported. This package is a relic of the pre-standard `HTMLElement.dataset` era and is superseded by native browser support. It has no active maintenance and is only useful for legacy project archaeology.
npm install dataset-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpiles .dataset.X assignments and reads into setAttribute/getAttribute calls.
Manually rewrite nested accesses or avoid using them.
Remove dependency and use element.dataset directly for modern browsers (IE11+).
Ensure runtimePrefix matches exactly (camelCase).
Use ES import syntax: import x from 'dataset-transpiler'
Use default import: import transpile from 'dataset-transpiler'
Ensure input is a string containing valid JavaScript with .dataset usage.
No dependency data recorded yet.