iso-8859-5
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,2 +0,2 @@ | ||
/*! http://mths.be/iso-8859-5 v0.1.0 by @mathias | MIT license */ | ||
/*! http://mths.be/iso-8859-5 v0.1.1 by @mathias | MIT license */ | ||
;(function(root) { | ||
@@ -53,2 +53,3 @@ | ||
var byteValue; | ||
var pointer; | ||
var result = ''; | ||
@@ -65,3 +66,3 @@ while (++index < length) { | ||
// `single-byte`.” | ||
var pointer = byteValue - 0x80; | ||
pointer = byteValue - 0x80; | ||
if (hasOwnProperty.call(INDEX_BY_POINTER, pointer)) { | ||
@@ -119,3 +120,13 @@ // “Return a code point whose value is `code point`.” | ||
'decode': decode, | ||
'version': '0.1.0' | ||
'labels': [ | ||
'csisolatincyrillic', | ||
'cyrillic', | ||
'iso-8859-5', | ||
'iso-ir-144', | ||
'iso8859-5', | ||
'iso88595', | ||
'iso_8859-5', | ||
'iso_8859-5:1988' | ||
], | ||
'version': '0.1.1' | ||
}; | ||
@@ -122,0 +133,0 @@ |
{ | ||
"name": "iso-8859-5", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A robust iso-8859-5 encoder/decoder written in JavaScript.", | ||
@@ -42,2 +42,8 @@ "homepage": "http://mths.be/iso-8859-5", | ||
], | ||
"directories": { | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "node tests/tests.js" | ||
}, | ||
"devDependencies": { | ||
@@ -44,0 +50,0 @@ "grunt": "~0.4.4", |
# iso-8859-5 [![Build status](https://travis-ci.org/mathiasbynens/iso-8859-5.svg?branch=master)](https://travis-ci.org/mathiasbynens/iso-8859-5) [![Dependency status](https://gemnasium.com/mathiasbynens/iso-8859-5.svg)](https://gemnasium.com/mathiasbynens/iso-8859-5) | ||
_iso-8859-5_ is robust JavaScript implementation of [the iso-8859-5 character encoding as defined by the Encoding Standard](http://encoding.spec.whatwg.org/#iso-8859-5). | ||
_iso-8859-5_ is a robust JavaScript implementation of [the iso-8859-5 character encoding as defined by the Encoding Standard](http://encoding.spec.whatwg.org/#iso-8859-5). | ||
This encoding is known under the following names: csisolatincyrillic, cyrillic, iso-8859-5, iso-ir-144, iso8859-5, iso88595, iso_8859-5, iso_8859-5:1988, and iso_8859-5:1988. | ||
This encoding is known under the following names: csisolatincyrillic, cyrillic, iso-8859-5, iso-ir-144, iso8859-5, iso88595, iso_8859-5, and iso_8859-5:1988. | ||
@@ -67,2 +67,6 @@ ## Installation | ||
### `iso88595.labels` | ||
An array of strings, each representing a [label](http://encoding.spec.whatwg.org/#label) for this encoding. | ||
### `iso88595.encode(input, options)` | ||
@@ -69,0 +73,0 @@ |
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
13515
152
128