https://github.com/diversen/get-html-rows-cells
Simple nodejs function for generating divs with cells as HTML with data-cell-id and data-row-id set.
https://github.com/diversen/get-html-rows-cells
Last synced: over 1 year ago
JSON representation
Simple nodejs function for generating divs with cells as HTML with data-cell-id and data-row-id set.
- Host: GitHub
- URL: https://github.com/diversen/get-html-rows-cells
- Owner: diversen
- Created: 2017-07-15T20:07:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-27T10:09:10.000Z (almost 9 years ago)
- Last Synced: 2025-02-07T22:28:27.530Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-html-rows-cells
Simple nodejs function for generating divs with cells as HTML with data-cell-id and data-row-id set.
## Install
npm install --save get-html-rows-cells
# Code
See [index.js](index.js)
# Usage
var getRowsCells = require('get-html-rows-cells');
console.log(getRowsCells(1, 2); // One row and two cells
// =>
See [test.js](test.js)
Usage example:
MIT © [Dennis Iversen](https://github.com/diversen)