codepage-encoder
Advanced tools
Comparing version 2.0.4 to 3.0.0
{ | ||
"name": "codepage-encoder", | ||
"version": "2.0.4", | ||
"version": "3.0.0", | ||
"description": "A library for converting Unicode to obscure single byte codepage for use with thermal printers.", | ||
@@ -8,8 +8,14 @@ "type": "module", | ||
"import": "./dist/codepage-encoder.mjs", | ||
"require": "./dist/codepage-encoder.cjs" | ||
"require": "./dist/codepage-encoder.cjs", | ||
"browser": { | ||
"import": "./dist/codepage-encoder.esm.js", | ||
"require": "./dist/codepage-encoder.umd.js", | ||
"script": "./dist/codepage-encoder.umd.js" | ||
} | ||
}, | ||
"module": "dist/codepage-encoder.mjs", | ||
"main": "dist/codepage-encoder.cjs", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"scripts": { | ||
"build": "npm run generate && rollup -c", | ||
"generate": "node tools/generate.js", | ||
"lint": "eslint --fix src/codepage-encoder.js", | ||
@@ -36,2 +42,5 @@ "mocha": "mocha test/", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@rollup/plugin-terser": "^0.4.1", | ||
"chai": "^4.3.7", | ||
@@ -41,2 +50,3 @@ "eslint": "^8.39.0", | ||
"iconv-lite": "^0.6.3", | ||
"javascript-stringify": "^2.1.0", | ||
"mocha": "^10.2.0", | ||
@@ -43,0 +53,0 @@ "rollup": "^3.20.7" |
@@ -1,2 +0,2 @@ | ||
# codepage-encoder | ||
# CodepageEncoder | ||
@@ -3,0 +3,0 @@ A library for converting Unicode to obscure single byte codepage for use with thermal printers. This library is internally used by `esc-pos-encoder`, `star-prnt-encoder` and `thermal-printer-encoder` and limited in functionality. We recommend that you use another library like `iconv` or `iconv-lite` for use with your project – unless you really, really need the codepages that are supported by this library. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
312352
9
1742
10