{ "_id": "encoding", "_rev": "39-410d874d5d5fb749a405acba3f1c3b5b", "name": "encoding", "description": "Convert encodings, uses iconv-lite", "dist-tags": { "latest": "0.1.13" }, "versions": { "0.1.1": { "name": "encoding", "version": "0.1.1", "description": "Remove accents from international characters", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "*", "iconv": "*" }, "optionalDependencies": { "iconv": "*" }, "_id": "encoding@0.1.1", "dist": { "shasum": "f5dfa57009a0f81ce63c966b9cdb4f12a3f14e05", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.1.tgz" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.2": { "name": "encoding", "version": "0.1.2", "description": "Remove accents from international characters", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "*", "iconv": "*" }, "optionalDependencies": { "iconv": "*" }, "devDependencies": { "nodeunit": "*" }, "_id": "encoding@0.1.2", "dist": { "shasum": "6827a60632997ed27001d805dcdd2b925de9a913", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.2.tgz" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.3": { "name": "encoding", "version": "0.1.3", "description": "Remove accents from international characters", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "*", "iconv": "*" }, "optionalDependencies": { "iconv": "*" }, "devDependencies": { "nodeunit": "*" }, "_id": "encoding@0.1.3", "dist": { "shasum": "0fdde7af970a729afe948227f174f3f79f524cd7", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.3.tgz" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.4": { "name": "encoding", "version": "0.1.4", "description": "Remove accents from international characters", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "*", "iconv": "*" }, "optionalDependencies": { "iconv": "*" }, "devDependencies": { "nodeunit": "*" }, "_id": "encoding@0.1.4", "dist": { "shasum": "dcd860c75975259d4159c840153d6ccdf82b899e", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.4.tgz" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.5": { "name": "encoding", "version": "0.1.5", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "*" }, "devDependencies": { "nodeunit": "*" }, "_id": "encoding@0.1.5", "dist": { "shasum": "3900ac48e4eb6b2885efe050fe74883287b7f33e", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.5.tgz" }, "_npmVersion": "1.1.61", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.6": { "name": "encoding", "version": "0.1.6", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "git://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "0.2.7" }, "devDependencies": { "nodeunit": "*" }, "_id": "encoding@0.1.6", "dist": { "shasum": "fec66b6d1c6b8cc554aa78c05ece35bef11a913f", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.6.tgz" }, "_from": ".", "_npmVersion": "1.2.14", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.7": { "name": "encoding", "version": "0.1.7", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "index.js", "scripts": { "test": "nodeunit test.js" }, "repository": { "type": "git", "url": "https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "~0.2.11" }, "devDependencies": { "nodeunit": "~0.8.1" }, "_id": "encoding@0.1.7", "dist": { "shasum": "25cc19b34e9225d120c2ea769f9136c91cecc908", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.7.tgz" }, "_from": ".", "_npmVersion": "1.2.18", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.8": { "name": "encoding", "version": "0.1.8", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "~0.4.3" }, "devDependencies": { "nodeunit": "~0.8.1" }, "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding", "_id": "encoding@0.1.8", "dist": { "shasum": "3c48d355f6f4da0545de88c6f2673ccf70df11e7", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.8.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.9": { "name": "encoding", "version": "0.1.9", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "^0.4.4" }, "devDependencies": { "nodeunit": "~0.8.1" }, "gitHead": "f75db3780405bb979508cd57c318cf605a0580c8", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding", "_id": "encoding@0.1.9", "_shasum": "0e082880ac477b79714dce4a78c699efcdd99c18", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "dist": { "shasum": "0e082880ac477b79714dce4a78c699efcdd99c18", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.9.tgz" }, "directories": {} }, "0.1.10": { "name": "encoding", "version": "0.1.10", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "~0.4.4" }, "devDependencies": { "nodeunit": "~0.8.1" }, "gitHead": "2a8f2139370e469435b0b71dc29583ba061376a5", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding", "_id": "encoding@0.1.10", "_shasum": "4463122033a7e3fdae4e81bf306f675dd8e4612c", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "dist": { "shasum": "4463122033a7e3fdae4e81bf306f675dd8e4612c", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.10.tgz" }, "directories": {} }, "0.1.11": { "name": "encoding", "version": "0.1.11", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "~0.4.4" }, "devDependencies": { "nodeunit": "~0.8.1" }, "gitHead": "b1f9ea063c33c70daa4b66662ef8374117306645", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding", "_id": "encoding@0.1.11", "_shasum": "52c65ac15aab467f1338451e2615f988eccc0258", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "andris", "email": "andris@node.ee" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "dist": { "shasum": "52c65ac15aab467f1338451e2615f988eccc0258", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.11.tgz" }, "directories": {} }, "0.1.12": { "name": "encoding", "version": "0.1.12", "description": "Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "git+https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "~0.4.13" }, "devDependencies": { "iconv": "~2.1.11", "nodeunit": "~0.9.1" }, "gitHead": "91ae950aaa854a119122c27cdbabd8c5585106f7", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding#readme", "_id": "encoding@0.1.12", "_shasum": "538b66f3ee62cd1ab51ec323829d1f9480c74beb", "_from": ".", "_npmVersion": "3.3.12", "_nodeVersion": "5.3.0", "_npmUser": { "name": "andris", "email": "andris@kreata.ee" }, "dist": { "shasum": "538b66f3ee62cd1ab51ec323829d1f9480c74beb", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "directories": {} }, "0.1.13": { "name": "encoding", "version": "0.1.13", "description": "Convert encodings, uses iconv-lite", "main": "lib/encoding.js", "scripts": { "test": "nodeunit test" }, "repository": { "type": "git", "url": "git+https://github.com/andris9/encoding.git" }, "author": { "name": "Andris Reinman" }, "license": "MIT", "dependencies": { "iconv-lite": "^0.6.2" }, "devDependencies": { "nodeunit": "0.11.3" }, "gitHead": "a7554ca9083bab4847705d562d02f0924271cbaa", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "homepage": "https://github.com/andris9/encoding#readme", "_id": "encoding@0.1.13", "_nodeVersion": "14.5.0", "_npmVersion": "6.14.5", "dist": { "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "shasum": "56574afdd791f54a8e9b2785c0582a2d26210fa9", "tarball": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "fileCount": 7, "unpackedSize": 7123, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCBJzCRA9TVsSAnZWagAANNcP/i1TY309HKXYl74I0RJz\noqFuwSxgoWXNnJ3ugBuNbz7U9DjcEhbbaYEHuc26lwkYV0HMiDZGgVDKaZzy\nWPxU6cO+Cm1/Dy9UrevCe78O34+Koaymhi69i9MWHlcAIfbCcp/qcm2EOdeI\nJ2usvmzGXxnwWQQVb+Sw7H9/eQFuYUlSXAbE/1kSDZyDq5McCdMBySEIE0fa\niS+dQBVdLJl2sFwL7DgoT+QWt2v53svwJbR1ZQbfySaLJVVMvoFrs21pt3Td\nlwJ8j1lz2ADxI/9WX0faYxKCJNtVDXDpnBA4hnYzDPFbmX8skKXLabus2mUZ\nO9Mh7zTRzvIOm0c8meKLq/RVIYODOX/eEvegvJcdNTpCd3K/GWOqF/28+vCH\nD45K6J/vTcwku1cZdX+MO1GBX5A8iV1JISKzjXyycjV50PfB8dZ2YanKQGjA\nmkmYzBPssaA+/dVtrdlpl2L03sUae9YUPI8x2dwHstZ+BlMZ/or9/EIH5rOj\nCxqc0KeUDsMD/mtzjCeWdxA4POamYNMJsU0ewluzKYZrSH9L1yccCULVUuJn\nh1XL2H8EOABR7A0PnZhGfIsL2K+TpT47ieOHragZ2c7LnO9kVfKetdAhoR4L\nQVNHr6zLnA5scWfk68sBNXgWKJvdPnCz4vZLQhDzhfx5PAL/OSHm7WHGOhH0\nsLJK\r\n=Xp+Q\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "_npmUser": { "name": "andris", "email": "andris@kreata.ee" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/encoding_0.1.13_1594364531517_0.31350544316084505" }, "_hasShrinkwrap": false } }, "readme": "# Encoding\n\n**encoding** is a simple wrapper around [iconv-lite](https://github.com/ashtuchkin/iconv-lite/) to convert strings from one encoding to another.\n\n[![Build Status](https://secure.travis-ci.org/andris9/encoding.svg)](http://travis-ci.org/andris9/Nodemailer)\n[![npm version](https://badge.fury.io/js/encoding.svg)](http://badge.fury.io/js/encoding)\n\nInitially _encoding_ was a wrapper around _node-iconv_ (main) and _iconv-lite_ (fallback) and was used as the encoding layer for Nodemailer/mailparser. Somehow it also ended up as a dependency for a bunch of other project, none of these actually using _node-iconv_. The loading mechanics caused issues for front-end projects and Nodemailer/malparser had moved on, so _node-iconv_ was removed.\n\n## Install\n\nInstall through npm\n\n npm install encoding\n\n## Usage\n\nRequire the module\n\n var encoding = require(\"encoding\");\n\nConvert with encoding.convert()\n\n var resultBuffer = encoding.convert(text, toCharset, fromCharset);\n\nWhere\n\n- **text** is either a Buffer or a String to be converted\n- **toCharset** is the characterset to convert the string\n- **fromCharset** (_optional_, defaults to UTF-8) is the source charset\n\nOutput of the conversion is always a Buffer object.\n\nExample\n\n var result = encoding.convert(\"ÕÄÖÜ\", \"Latin_1\");\n console.log(result); //\n\n## License\n\n**MIT**\n", "maintainers": [ { "name": "andris", "email": "andris@node.ee" } ], "time": { "modified": "2020-07-10T07:02:26.539Z", "created": "2012-08-16T08:36:04.275Z", "0.1.1": "2012-08-16T08:36:05.770Z", "0.1.2": "2012-08-16T08:48:07.540Z", "0.1.3": "2012-09-04T09:56:33.049Z", "0.1.4": "2012-09-14T13:13:45.852Z", "0.1.5": "2012-11-07T09:24:38.001Z", "0.1.6": "2013-03-23T06:20:47.925Z", "0.1.7": "2013-09-03T10:45:22.834Z", "0.1.8": "2014-06-17T12:13:45.482Z", "0.1.9": "2014-10-13T06:44:03.588Z", "0.1.10": "2014-10-16T12:37:21.638Z", "0.1.11": "2014-11-08T19:41:18.146Z", "0.1.12": "2015-12-23T09:06:30.764Z", "0.1.13": "2020-07-10T07:02:11.638Z" }, "author": { "name": "Andris Reinman" }, "repository": { "type": "git", "url": "git+https://github.com/andris9/encoding.git" }, "homepage": "https://github.com/andris9/encoding#readme", "bugs": { "url": "https://github.com/andris9/encoding/issues" }, "license": "MIT", "readmeFilename": "README.md", "users": { "326060588": true, "boustanihani": true, "robermac": true, "itonyyo": true, "malenki": true, "markthethomas": true, "wangnan0610": true, "alimaster": true, "vanioinformatika": true, "m80126colin": true, "usex": true, "koreyhan": true } }