UNPKG

vanillajs-datatable

Version:

A lightweight, dependency-free, and theme-friendly DataTable alternative to jQuery DataTables built with modern JavaScript — works great with Tailwind CSS, DaisyUI, and Bootstrap.

91 lines (90 loc) 2.04 kB
{ "name": "vanillajs-datatable", "version": "1.0.6", "description": "A lightweight, dependency-free, and theme-friendly DataTable alternative to jQuery DataTables built with modern JavaScript — works great with Tailwind CSS, DaisyUI, and Bootstrap.", "exports": "./dist/index.esm.js", "type": "module", "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", "unpkg": "./dist/index.min.js", "types": "./dist/index.d.ts", "license": "MIT", "scripts": { "build": "rollup -c", "test": "echo \"No tests specified\" && exit 0", "prepare": "npm run build", "postinstall": "node scripts/postinstall.js", "check:sizes": "node scripts/check-sizes.js", "size": "size-limit" }, "size-limit": [ { "path": "dist/index.cjs.js", "limit": "50 kB", "ignore": [ "jspdf", "jspdf-autotable", "exceljs" ] }, { "path": "dist/index.esm.js", "limit": "50 kB", "ignore": [ "jspdf", "jspdf-autotable", "exceljs" ] }, { "path": "dist/index.min.js", "limit": "50 kB", "ignore": [ "jspdf", "jspdf-autotable", "exceljs" ] } ], "optionalDependencies": { "bootstrap": "^5.3.0", "exceljs": "^4.4.0", "jspdf": "^3.0.1", "jspdf-autotable": "^5.0.2", "tailwindcss": "^4.0.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@size-limit/preset-small-lib": "^11.2.0", "brotli-size": "^4.0.0", "gzip-size": "^7.0.0", "rollup": "^4.41.1", "size-limit": "^11.2.0" }, "files": [ "dist", "README.md", "LICENSE", "scripts" ], "keywords": [ "datatable", "table", "vanilla-js", "javascript", "lightweight", "frontend", "tailwindcss", "bootstrap", "data-grid", "sortable", "searchable", "paginated", "themeable", "exportable" ], "engines": { "node": ">=16" } }