File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- # rollup-plugin-jsonl
1+ # rollup-plugin-jsonlines
22
33🍣 A Rollup plugin which imports ` .jsonl ` ([ JSON Lines] ( https://jsonlines.org/ ) ) files as JSON arrays.
44
@@ -11,15 +11,15 @@ This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v
1111Using npm:
1212
1313``` console
14- npm install rollup-plugin-jsonl --save-dev
14+ npm install rollup-plugin-jsonlines --save-dev
1515```
1616
1717## Usage
1818
1919Create a rollup.config.js [ configuration file] ( https://www.rollupjs.org/guide/en/#configuration-files ) and import the plugin:
2020
2121``` js
22- import jsonl from ' rollup-plugin-jsonl ' ;
22+ import jsonl from ' rollup-plugin-jsonlines ' ;
2323
2424export default {
2525 input: ' src/index.js' ,
@@ -40,7 +40,7 @@ _`vite.config.js`_
4040``` js
4141import { defineConfig } from ' vite' ;
4242import { svelte } from ' @sveltejs/vite-plugin-svelte' ;
43- import jsonl from ' rollup-plugin-jsonl ' ;
43+ import jsonl from ' rollup-plugin-jsonlines ' ;
4444
4545// https://vitejs.dev/config/
4646export default defineConfig ({
Original file line number Diff line number Diff line change 11{
2- "name" : " rollup-plugin-jsonl " ,
2+ "name" : " rollup-plugin-jsonlines " ,
33 "version" : " 0.0.1" ,
44 "publishConfig" : {
55 "access" : " public"
88 "license" : " MIT" ,
99 "repository" : {
1010 "type" : " git" ,
11- "url" : " git+https://github.com/petlack/rollup-plugin-jsonl "
11+ "url" : " git+https://github.com/petlack/rollup-plugin-jsonlines "
1212 },
1313 "author" : " Peter Laca" ,
14- "homepage" : " https://github.com/petlack/rollup-plugin-jsonl " ,
15- "bugs" : " https://github.com/petlack/rollup-plugin-jsonl /issues" ,
14+ "homepage" : " https://github.com/petlack/rollup-plugin-jsonlines " ,
15+ "bugs" : " https://github.com/petlack/rollup-plugin-jsonlines /issues" ,
1616 "main" : " ./dist/cjs/index.js" ,
1717 "module" : " ./dist/es/index.js" ,
1818 "exports" : {
You can’t perform that action at this time.
0 commit comments