parse-csv-simple
Advanced tools
Comparing version 1.0.0 to 1.0.2
@@ -22,6 +22,1 @@ "use strict"; | ||
exports.parseIterable = parseIterable; | ||
const specialCsvText = `name,remark | ||
weilei,"good, work" | ||
panda,"hello ""panda\nmonkey""" | ||
`; | ||
parse(specialCsvText); |
{ | ||
"name": "parse-csv-simple", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "A parser for csv file.", | ||
@@ -25,8 +25,5 @@ "main": "dist/index.js", | ||
"chai": "^4.3.4", | ||
"mocha": "^9.0.2" | ||
}, | ||
"dependencies": { | ||
"ts-node": "^10.1.0", | ||
"mocha": "^9.0.2", | ||
"typescript": "^4.3.5" | ||
} | ||
} |
# parse-csv-simple | ||
A parser for csv file. | ||
## Usage | ||
Import the library in your code | ||
```js | ||
var {parse} = require('parse-csv-simple'); | ||
var csvText = 'csv text ...'; | ||
parse(csvText); | ||
``` |
@@ -21,6 +21,1 @@ import { Parser } from "./parser"; | ||
} | ||
const specialCsvText = `name,remark | ||
weilei,"good, work" | ||
panda,"hello ""panda\nmonkey""" | ||
`; | ||
parse(specialCsvText); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
13
14253
5
453
- Removedts-node@^10.1.0
- Removedtypescript@^4.3.5
- Removed@cspotcode/source-map-support@0.8.1(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.9(transitive)
- Removed@tsconfig/node10@1.0.11(transitive)
- Removed@tsconfig/node12@1.0.11(transitive)
- Removed@tsconfig/node14@1.0.3(transitive)
- Removed@tsconfig/node16@1.0.4(transitive)
- Removed@types/node@22.9.0(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-walk@8.3.4(transitive)
- Removedarg@4.1.3(transitive)
- Removedcreate-require@1.1.1(transitive)
- Removeddiff@4.0.2(transitive)
- Removedmake-error@1.3.6(transitive)
- Removedts-node@10.9.2(transitive)
- Removedtypescript@4.9.5(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedv8-compile-cache-lib@3.0.1(transitive)
- Removedyn@3.1.1(transitive)