0.0.2 • Published 5 years ago

@hikaruna/table_first_normalizer v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

TABLE FIRST NORMALIZER

npm version

htmlのtableDOMを第一正規化します(rospan, colspanを排除します)

Usage

Webpack

> npm i @hikaruna/table_first_normalizer
// your_entrypoint.js

const firstNormalize = require('@hikaruna/table_first_normalizer);

const table = document.querySelector('table');
const firstNormalizedTable = firstNormalize(table);
document.querySelector('body').appendChild(firstNormalizedTable);

Development

> git clone table_first_normalizer
> cd table_first_normalizer
> npm i
> npx webpack-dev-server
> open localhost:8080