Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

hikaruna/table-first-normalizer

Repository files navigation

TABLE FIRST NORMALIZER

npm version

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

Instration

> npm i @hikaruna/table-first-normalizer

Webpack

// your_entrypoint.js
const tableFirstNormalize = require('@hikaruna/table-first-normalizer);

ScriptTag(github release hosting)

// your.html
<script src="https://github.com/hikaruna/table-first-normalizer/releases/download/vX.Y.Z/table-first-normalizer.umd.js"></script>

ScriptTag(self hosting)

publish node_modules/@hikaruna/table-first-normalizer/dist/table-first-normalizer.umd.js to contentBase

// your.html
<script src="table-first-normalizer.umd.js"></script>

Usage

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

Development

> git clone table-first-normalizer
> cd table-first-normalizer
> npm install
> npm run dev
> open localhost:10001

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /