We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exports
1 parent 0cddcbc commit edaeb92Copy full SHA for edaeb92
package.json
@@ -23,8 +23,7 @@
23
],
24
"sideEffects": false,
25
"type": "module",
26
- "main": "index.js",
27
- "types": "index.d.ts",
+ "exports": "./index.js",
28
"files": [
29
"lib/",
30
"index.d.ts",
test.js
@@ -1,10 +1,10 @@
1
import assert from 'node:assert/strict'
2
import test from 'node:test'
3
-import {normalize} from './index.js'
+import {normalize} from 'nlcst-normalize'
4
5
test('Basic', async function (t) {
6
await t.test('should expose the public api', async function () {
7
- assert.deepEqual(Object.keys(await import('./index.js')).sort(), [
+ assert.deepEqual(Object.keys(await import('nlcst-normalize')).sort(), [
8
'normalize'
9
])
10
})
0 commit comments