dictionary-en-za
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -15,3 +15,3 @@ var read = require('fs').readFile | ||
function one(name) { | ||
read(join(__dirname, 'index.' + name), function(err, doc) { | ||
read(join(__dirname, 'index.' + name), function (err, doc) { | ||
pos++ | ||
@@ -18,0 +18,0 @@ exception = exception || err |
{ | ||
"name": "dictionary-en-za", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "English (South Africa) spelling dictionary in UTF-8", | ||
@@ -17,3 +17,3 @@ "license": "LGPL-2.1", | ||
], | ||
"repository": "https://github.com/wooorm/dictionaries/tree/master/dictionaries/en-ZA", | ||
"repository": "https://github.com/wooorm/dictionaries/tree/main/dictionaries/en-ZA", | ||
"bugs": "https://github.com/wooorm/dictionaries/issues", | ||
@@ -20,0 +20,0 @@ "funding": { |
@@ -8,3 +8,3 @@ # dictionary-en-za | ||
Generated by [`dictionaries`][dictionaries], from | ||
Generated by [`dictionaries`][dictionaries] from | ||
[`extensions.openoffice.org`][source]. | ||
@@ -23,7 +23,7 @@ | ||
```js | ||
var enZA = require('dictionary-en-za') | ||
var enZa = require('dictionary-en-za') | ||
enZA(function (err, result) { | ||
enZa(function (err, result) { | ||
console.log(err || result) | ||
}); | ||
}) | ||
``` | ||
@@ -34,8 +34,8 @@ | ||
```js | ||
{ dic: <Buffer>, | ||
aff: <Buffer> } | ||
{dic: <Buffer>, aff: <Buffer>} | ||
``` | ||
Where `dic` is a buffer for the dictionary file at `index.dic` (in UTF-8), and | ||
`aff` is a buffer for the affix file at `index.aff` (in UTF-8). | ||
Where `dic` is a [`Buffer`][buffer] for the dictionary file at `index.dic` (in | ||
UTF-8) and `aff` is a [`Buffer`][buffer] for the affix file at `index.aff` (in | ||
UTF-8). | ||
@@ -54,3 +54,3 @@ Or directly load the files, using something like: | ||
Dictionary and affix file: [LGPL-2.1](https://github.com/wooorm/dictionaries/blob/master/dictionaries/en-ZA/license). | ||
Dictionary and affix file: [LGPL-2.1](https://github.com/wooorm/dictionaries/blob/main/dictionaries/en-ZA/license). | ||
Rest: [MIT][] © [Titus Wormer][home]. | ||
@@ -72,4 +72,6 @@ | ||
[mit]: https://github.com/wooorm/dictionaries/blob/master/LICENSE | ||
[mit]: https://github.com/wooorm/dictionaries/blob/main/license | ||
[buffer]: https://nodejs.org/api/buffer.html#buffer_buffer | ||
[home]: https://wooorm.com |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
667579
73