@stdlib/datasets-emoji-picto-code 0.0.8 → 0.2.0
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 +1 -1
- package/README.md +34 -77
- package/SECURITY.md +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +7 -0
- package/docs/types/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/main.js +0 -1
- package/package.json +7 -20
- package/bin/cli +0 -77
- package/docs/repl.txt +0 -16
- package/docs/types/test.ts +0 -32
- package/docs/usage.txt +0 -8
- package/etc/cli_opts.json +0 -14
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -18,6 +18,17 @@ limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
-->
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
<details>
|
|
23
|
+
<summary>
|
|
24
|
+
About stdlib...
|
|
25
|
+
</summary>
|
|
26
|
+
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
|
|
27
|
+
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
|
|
28
|
+
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
|
|
29
|
+
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
|
|
30
|
+
</details>
|
|
31
|
+
|
|
21
32
|
# Emoji Pictographs and Codes
|
|
22
33
|
|
|
23
34
|
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
@@ -101,70 +112,7 @@ for ( i = 0; i < picto.length; i++ ) {
|
|
|
101
112
|
|
|
102
113
|
<!-- /.examples -->
|
|
103
114
|
|
|
104
|
-
* * *
|
|
105
|
-
|
|
106
|
-
<section class="cli">
|
|
107
|
-
|
|
108
|
-
## CLI
|
|
109
|
-
|
|
110
|
-
<section class="installation">
|
|
111
|
-
|
|
112
|
-
## Installation
|
|
113
|
-
|
|
114
|
-
To use the module as a general utility, install the module globally
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
npm install -g @stdlib/datasets-emoji-picto-code
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
</section>
|
|
121
|
-
|
|
122
|
-
<!-- CLI usage documentation. -->
|
|
123
|
-
|
|
124
|
-
<section class="usage">
|
|
125
|
-
|
|
126
|
-
### Usage
|
|
127
|
-
|
|
128
|
-
```text
|
|
129
|
-
Usage: emoji-picto-code [options]
|
|
130
|
-
|
|
131
|
-
Options:
|
|
132
|
-
|
|
133
|
-
-h, --help Print this message.
|
|
134
|
-
-V, --version Print the package version.
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
</section>
|
|
138
|
-
|
|
139
|
-
<!-- /.usage -->
|
|
140
|
-
|
|
141
|
-
<section class="notes">
|
|
142
|
-
|
|
143
|
-
### Notes
|
|
144
|
-
|
|
145
|
-
- Data is written to `stdout` as comma-separated values ([CSV][csv]), where the first line is a header line.
|
|
146
|
-
|
|
147
|
-
</section>
|
|
148
|
-
|
|
149
|
-
<!-- /.notes -->
|
|
150
|
-
|
|
151
|
-
<section class="examples">
|
|
152
|
-
|
|
153
|
-
### Examples
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
$ emoji-picto-code
|
|
157
|
-
emoji,code
|
|
158
|
-
...
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
</section>
|
|
162
|
-
|
|
163
|
-
<!-- /.examples -->
|
|
164
|
-
|
|
165
|
-
</section>
|
|
166
115
|
|
|
167
|
-
<!-- /.cli -->
|
|
168
116
|
|
|
169
117
|
<!-- <license> -->
|
|
170
118
|
|
|
@@ -178,12 +126,11 @@ The data files (databases) are licensed under an [Open Data Commons Public Domai
|
|
|
178
126
|
|
|
179
127
|
<section class="related">
|
|
180
128
|
|
|
181
|
-
* * *
|
|
182
|
-
|
|
183
129
|
## See Also
|
|
184
130
|
|
|
185
|
-
- <span class="package-name">[`@stdlib/datasets
|
|
186
|
-
- <span class="package-name">[`@stdlib/datasets
|
|
131
|
+
- <span class="package-name">[`@stdlib/datasets-emoji-picto-code-cli`][@stdlib/datasets-emoji-picto-code-cli]</span><span class="delimiter">: </span><span class="description">CLI package for use as a command-line utility.</span>
|
|
132
|
+
- <span class="package-name">[`@stdlib/datasets-emoji`][@stdlib/datasets/emoji]</span><span class="delimiter">: </span><span class="description">emoji.</span>
|
|
133
|
+
- <span class="package-name">[`@stdlib/datasets-emoji-code-picto`][@stdlib/datasets/emoji-code-picto]</span><span class="delimiter">: </span><span class="description">emoji codes and pictographs.</span>
|
|
187
134
|
|
|
188
135
|
</section>
|
|
189
136
|
|
|
@@ -210,7 +157,7 @@ For more information on the project, filing bug reports and feature requests, an
|
|
|
210
157
|
|
|
211
158
|
## Copyright
|
|
212
159
|
|
|
213
|
-
Copyright © 2016-
|
|
160
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
214
161
|
|
|
215
162
|
</section>
|
|
216
163
|
|
|
@@ -220,11 +167,13 @@ Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
|
220
167
|
|
|
221
168
|
<section class="links">
|
|
222
169
|
|
|
170
|
+
[@stdlib/datasets-emoji-picto-code-cli]: https://www.npmjs.com/package/@stdlib/datasets-emoji-picto-code-cli
|
|
171
|
+
|
|
223
172
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/datasets-emoji-picto-code.svg
|
|
224
173
|
[npm-url]: https://npmjs.org/package/@stdlib/datasets-emoji-picto-code
|
|
225
174
|
|
|
226
|
-
[test-image]: https://github.com/stdlib-js/datasets-emoji-picto-code/actions/workflows/test.yml/badge.svg
|
|
227
|
-
[test-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/actions/workflows/test.yml
|
|
175
|
+
[test-image]: https://github.com/stdlib-js/datasets-emoji-picto-code/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
176
|
+
[test-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/actions/workflows/test.yml?query=branch:v0.2.0
|
|
228
177
|
|
|
229
178
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/datasets-emoji-picto-code/main.svg
|
|
230
179
|
[coverage-url]: https://codecov.io/github/stdlib-js/datasets-emoji-picto-code?branch=main
|
|
@@ -236,19 +185,27 @@ Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
|
236
185
|
|
|
237
186
|
-->
|
|
238
187
|
|
|
188
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
189
|
+
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
|
|
190
|
+
|
|
191
|
+
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
192
|
+
|
|
193
|
+
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
194
|
+
|
|
195
|
+
[cli-section]: https://github.com/stdlib-js/datasets-emoji-picto-code#cli
|
|
196
|
+
[cli-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/tree/cli
|
|
197
|
+
[@stdlib/datasets-emoji-picto-code]: https://github.com/stdlib-js/datasets-emoji-picto-code/tree/main
|
|
198
|
+
|
|
239
199
|
[umd]: https://github.com/umdjs/umd
|
|
240
200
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
241
201
|
|
|
242
202
|
[deno-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/tree/deno
|
|
203
|
+
[deno-readme]: https://github.com/stdlib-js/datasets-emoji-picto-code/blob/deno/README.md
|
|
243
204
|
[umd-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/tree/umd
|
|
205
|
+
[umd-readme]: https://github.com/stdlib-js/datasets-emoji-picto-code/blob/umd/README.md
|
|
244
206
|
[esm-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/tree/esm
|
|
245
|
-
|
|
246
|
-
[
|
|
247
|
-
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
248
|
-
|
|
249
|
-
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
250
|
-
|
|
251
|
-
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
207
|
+
[esm-readme]: https://github.com/stdlib-js/datasets-emoji-picto-code/blob/esm/README.md
|
|
208
|
+
[branches-url]: https://github.com/stdlib-js/datasets-emoji-picto-code/blob/main/branches.md
|
|
252
209
|
|
|
253
210
|
[pddl-1.0]: http://opendatacommons.org/licenses/pddl/1.0/
|
|
254
211
|
|
package/SECURITY.md
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";var s=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var t=s(function(f,a){
|
|
2
|
+
var i=require("path").resolve,n=require('@stdlib/fs-read-json/dist').sync,o=i(__dirname,"..","data","data.json"),u={encoding:"utf8"};function v(){var r=n(o,u);if(r instanceof Error)throw r;return r}a.exports=v
|
|
3
|
+
});var c=t();module.exports=c;
|
|
4
|
+
/** @license Apache-2.0 */
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../lib/main.js", "../lib/index.js"],
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2019 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar resolve = require( 'path' ).resolve;\nvar readJSON = require( '@stdlib/fs-read-json' ).sync;\n\n\n// VARIABLES //\n\nvar fpath = resolve( __dirname, '..', 'data', 'data.json' );\nvar opts = {\n\t'encoding': 'utf8'\n};\n\n\n// MAIN //\n\n/**\n* Returns an object mapping emoji pictographs to codes.\n*\n* ## Notes\n*\n* - This function synchronously reads data from disk for each invocation. Such behavior is intentional and so is the avoidance of `require`. We assume that invocations are infrequent, and we want to avoid the `require` cache. This means that we allow data to be garbage collected and a user is responsible for explicitly caching data.\n*\n* @throws {Error} unable to read data\n* @returns {Object} pictographs to codes\n*\n* @example\n* var tbl = table();\n* // returns {...}\n*/\nfunction table() {\n\tvar data = readJSON( fpath, opts );\n\tif ( data instanceof Error ) {\n\t\tthrow data;\n\t}\n\treturn data;\n}\n\n\n// EXPORTS //\n\nmodule.exports = table;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2019 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Map emoji pictographs to codes.\n*\n* @module @stdlib/datasets-emoji-picto-code\n*\n* @example\n* var table = require( '@stdlib/datasets-emoji-picto-code' );\n* var tbl = table();\n* // returns {...}\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
|
|
5
|
+
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAU,QAAS,MAAO,EAAE,QAC5BC,EAAW,QAAS,sBAAuB,EAAE,KAK7CC,EAAQF,EAAS,UAAW,KAAM,OAAQ,WAAY,EACtDG,EAAO,CACV,SAAY,MACb,EAmBA,SAASC,GAAQ,CAChB,IAAIC,EAAOJ,EAAUC,EAAOC,CAAK,EACjC,GAAKE,aAAgB,MACpB,MAAMA,EAEP,OAAOA,CACR,CAKAN,EAAO,QAAUK,IC5BjB,IAAIE,EAAO,IAKX,OAAO,QAAUA",
|
|
6
|
+
"names": ["require_main", "__commonJSMin", "exports", "module", "resolve", "readJSON", "fpath", "opts", "table", "data", "main"]
|
|
7
|
+
}
|
package/docs/types/index.d.ts
CHANGED
package/lib/index.js
CHANGED
package/lib/main.js
CHANGED
|
@@ -41,7 +41,6 @@ var opts = {
|
|
|
41
41
|
*
|
|
42
42
|
* - This function synchronously reads data from disk for each invocation. Such behavior is intentional and so is the avoidance of `require`. We assume that invocations are infrequent, and we want to avoid the `require` cache. This means that we allow data to be garbage collected and a user is responsible for explicitly caching data.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
45
44
|
* @throws {Error} unable to read data
|
|
46
45
|
* @returns {Object} pictographs to codes
|
|
47
46
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/datasets-emoji-picto-code",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Emoji pictographs and codes.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -13,9 +13,6 @@
|
|
|
13
13
|
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"bin": {
|
|
17
|
-
"emoji-picto-code": "./bin/cli"
|
|
18
|
-
},
|
|
19
16
|
"main": "./lib",
|
|
20
17
|
"browser": "./lib/browser.js",
|
|
21
18
|
"directories": {
|
|
@@ -43,25 +40,15 @@
|
|
|
43
40
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
44
41
|
},
|
|
45
42
|
"dependencies": {
|
|
46
|
-
"@stdlib/
|
|
47
|
-
"@stdlib/
|
|
48
|
-
"@stdlib/fs-read-json": "^0.0.x",
|
|
49
|
-
"@stdlib/streams-node-stdout": "^0.0.x",
|
|
50
|
-
"@stdlib/utils-copy": "^0.0.x"
|
|
43
|
+
"@stdlib/fs-read-json": "^0.2.0",
|
|
44
|
+
"@stdlib/utils-copy": "^0.2.0"
|
|
51
45
|
},
|
|
52
46
|
"devDependencies": {
|
|
53
|
-
"@stdlib/
|
|
54
|
-
"@stdlib/assert-is-plain-object": "^0.0.x",
|
|
55
|
-
"@stdlib/assert-is-windows": "^0.0.x",
|
|
56
|
-
"@stdlib/bench": "^0.0.x",
|
|
57
|
-
"@stdlib/datasets-emoji": "^0.0.x",
|
|
58
|
-
"@stdlib/fs-write-file": "^0.0.x",
|
|
59
|
-
"@stdlib/process-exec-path": "^0.0.x",
|
|
60
|
-
"@stdlib/utils-keys": "^0.0.x",
|
|
47
|
+
"@stdlib/datasets-emoji": "^0.2.0",
|
|
61
48
|
"proxyquire": "^2.0.0",
|
|
62
49
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
63
50
|
"istanbul": "^0.4.1",
|
|
64
|
-
"tap-
|
|
51
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
65
52
|
},
|
|
66
53
|
"engines": {
|
|
67
54
|
"node": ">=0.10.0",
|
|
@@ -92,7 +79,7 @@
|
|
|
92
79
|
"hash"
|
|
93
80
|
],
|
|
94
81
|
"funding": {
|
|
95
|
-
"type": "
|
|
96
|
-
"url": "https://
|
|
82
|
+
"type": "opencollective",
|
|
83
|
+
"url": "https://opencollective.com/stdlib"
|
|
97
84
|
}
|
|
98
85
|
}
|
package/bin/cli
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @license Apache-2.0
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2019 The Stdlib Authors.
|
|
7
|
-
*
|
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
-
* you may not use this file except in compliance with the License.
|
|
10
|
-
* You may obtain a copy of the License at
|
|
11
|
-
*
|
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
-
*
|
|
14
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
-
* See the License for the specific language governing permissions and
|
|
18
|
-
* limitations under the License.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
'use strict';
|
|
22
|
-
|
|
23
|
-
// MODULES //
|
|
24
|
-
|
|
25
|
-
var createReadStream = require( 'fs' ).createReadStream;
|
|
26
|
-
var resolve = require( 'path' ).resolve;
|
|
27
|
-
var readFileSync = require( '@stdlib/fs-read-file' ).sync;
|
|
28
|
-
var stdout = require( '@stdlib/streams-node-stdout' );
|
|
29
|
-
var CLI = require( '@stdlib/cli-ctor' );
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
// MAIN //
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Main execution sequence.
|
|
36
|
-
*
|
|
37
|
-
* @private
|
|
38
|
-
*/
|
|
39
|
-
function main() {
|
|
40
|
-
var flags;
|
|
41
|
-
var fpath;
|
|
42
|
-
var cli;
|
|
43
|
-
|
|
44
|
-
// Create a command-line interface:
|
|
45
|
-
cli = new CLI({
|
|
46
|
-
'pkg': require( './../package.json' ),
|
|
47
|
-
'options': require( './../etc/cli_opts.json' ),
|
|
48
|
-
'help': readFileSync( resolve( __dirname, '..', 'docs', 'usage.txt' ), {
|
|
49
|
-
'encoding': 'utf8'
|
|
50
|
-
})
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
// Get any provided command-line options:
|
|
54
|
-
flags = cli.flags();
|
|
55
|
-
if ( flags.help || flags.version ) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Resolve the data file path:
|
|
60
|
-
fpath = resolve( __dirname, '..', 'data', 'data.csv' );
|
|
61
|
-
|
|
62
|
-
// Print the data to stdout:
|
|
63
|
-
createReadStream( fpath )
|
|
64
|
-
.pipe( stdout )
|
|
65
|
-
.on( 'close', onClose );
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Exits the CLI.
|
|
69
|
-
*
|
|
70
|
-
* @private
|
|
71
|
-
*/
|
|
72
|
-
function onClose() {
|
|
73
|
-
cli.close( 0 );
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
main();
|
package/docs/repl.txt
DELETED
package/docs/types/test.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @license Apache-2.0
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2020 The Stdlib Authors.
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
import table = require( './index' );
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// TESTS //
|
|
23
|
-
|
|
24
|
-
// The function returns an object mapping emoji pictographs to codes...
|
|
25
|
-
{
|
|
26
|
-
table(); // $ExpectType Object
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// The compiler throws an error if the function is provided arguments...
|
|
30
|
-
{
|
|
31
|
-
table( 3.12 ); // $ExpectError
|
|
32
|
-
}
|
package/docs/usage.txt
DELETED