@stdlib/datasets-cmudict 0.0.4 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # CMUdict
22
22
 
23
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
23
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
24
24
 
25
25
  > The Carnegie Mellon Pronouncing Dictionary.
26
26
 
@@ -205,6 +205,8 @@ npm install -g @stdlib/datasets-cmudict
205
205
 
206
206
  </section>
207
207
 
208
+ <!-- CLI usage documentation. -->
209
+
208
210
  <section class="usage">
209
211
 
210
212
  ### Usage
@@ -264,6 +266,16 @@ The data files (databases) and their contents are licensed under a [BSD-2-Clause
264
266
 
265
267
  <!-- </license> -->
266
268
 
269
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
270
+
271
+ <section class="related">
272
+
273
+ </section>
274
+
275
+ <!-- /.related -->
276
+
277
+ <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
278
+
267
279
 
268
280
  <section class="main-repo" >
269
281
 
@@ -283,7 +295,7 @@ For more information on the project, filing bug reports and feature requests, an
283
295
 
284
296
  ## Copyright
285
297
 
286
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
298
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
287
299
 
288
300
  </section>
289
301
 
@@ -302,9 +314,20 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
302
314
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/datasets-cmudict/main.svg
303
315
  [coverage-url]: https://codecov.io/github/stdlib-js/datasets-cmudict?branch=main
304
316
 
317
+ <!--
318
+
305
319
  [dependencies-image]: https://img.shields.io/david/stdlib-js/datasets-cmudict.svg
306
320
  [dependencies-url]: https://david-dm.org/stdlib-js/datasets-cmudict/main
307
321
 
322
+ -->
323
+
324
+ [umd]: https://github.com/umdjs/umd
325
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
326
+
327
+ [deno-url]: https://github.com/stdlib-js/datasets-cmudict/tree/deno
328
+ [umd-url]: https://github.com/stdlib-js/datasets-cmudict/tree/umd
329
+ [esm-url]: https://github.com/stdlib-js/datasets-cmudict/tree/esm
330
+
308
331
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
309
332
  [chat-url]: https://gitter.im/stdlib-js/stdlib/
310
333
 
package/bin/cli CHANGED
@@ -28,7 +28,7 @@ var getKeys = require( '@stdlib/utils-keys' );
28
28
  var indexOf = require( '@stdlib/utils-index-of' );
29
29
  var readFileSync = require( '@stdlib/fs-read-file' ).sync;
30
30
  var stdout = require( '@stdlib/streams-node-stdout' );
31
- var CLI = require( '@stdlib/cli' );
31
+ var CLI = require( '@stdlib/cli-ctor' );
32
32
  var cmudict = require( './../lib' );
33
33
 
34
34
 
package/lib/index.js CHANGED
@@ -32,17 +32,7 @@
32
32
 
33
33
  // MODULES //
34
34
 
35
- var IS_BROWSER = require( '@stdlib/assert-is-browser' );
36
-
37
-
38
- // MAIN //
39
-
40
- var dict;
41
- if ( IS_BROWSER ) {
42
- dict = require( './browser.js' );
43
- } else {
44
- dict = require( './main.js' );
45
- }
35
+ var dict = require( './main.js' );
46
36
 
47
37
 
48
38
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/datasets-cmudict",
3
- "version": "0.0.4",
3
+ "version": "0.0.8",
4
4
  "description": "The Carnegie Mellon Pronouncing Dictionary (CMUdict).",
5
5
  "license": "Apache-2.0 and BSD",
6
6
  "author": {
@@ -20,7 +20,6 @@
20
20
  "browser": "./lib/browser.js",
21
21
  "directories": {
22
22
  "benchmark": "./benchmark",
23
- "bin": "./bin",
24
23
  "data": "./data",
25
24
  "doc": "./docs",
26
25
  "example": "./examples",
@@ -45,10 +44,9 @@
45
44
  },
46
45
  "dependencies": {
47
46
  "@stdlib/assert-has-own-property": "^0.0.x",
48
- "@stdlib/assert-is-browser": "^0.0.x",
49
47
  "@stdlib/assert-is-plain-object": "^0.0.x",
50
48
  "@stdlib/assert-is-string": "^0.0.x",
51
- "@stdlib/cli": "^0.0.x",
49
+ "@stdlib/cli-ctor": "^0.0.x",
52
50
  "@stdlib/fs-read-file": "^0.0.x",
53
51
  "@stdlib/fs-read-json": "^0.0.x",
54
52
  "@stdlib/streams-node-stdout": "^0.0.x",
@@ -58,6 +56,7 @@
58
56
  },
59
57
  "devDependencies": {
60
58
  "@stdlib/assert-is-array": "^0.0.x",
59
+ "@stdlib/assert-is-browser": "^0.0.x",
61
60
  "@stdlib/assert-is-string-array": "^0.0.x",
62
61
  "@stdlib/assert-is-windows": "^0.0.x",
63
62
  "@stdlib/bench": "^0.0.x",
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # CHANGELOG
2
-
3
- > Package changelog.
4
-
5
- See [GitHub Releases](https://github.com/stdlib-js/datasets-cmudict/releases) for the changelog.