tarsec 0.0.5 → 0.0.6

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +8 -2
package/README.md CHANGED
@@ -19,7 +19,7 @@ npm install tarsec
19
19
  ## Hello world
20
20
 
21
21
  ```ts
22
- import { str, char } from "tarsec";
22
+ import { str, seq, space } from "tarsec";
23
23
 
24
24
  // define a parser
25
25
  const parser = seq([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tarsec",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "A parser combinator library for TypeScript, inspired by Parsec.",
5
5
  "homepage": "https://github.com/egonSchiele/tarsec",
6
6
 
@@ -11,7 +11,13 @@
11
11
  },
12
12
  "files": [
13
13
  "./dist"
14
- ],
14
+ ],
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/index.js",
18
+ "require": "./dist/index.js"
19
+ }
20
+ },
15
21
  "keywords": [],
16
22
  "author": "",
17
23
  "license": "ISC",