You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Single entry point ("main" or "module" entries in `package.json`) is also possible for backwards compatibility:
62
+
63
+
```ts
64
+
// ESM
65
+
import { packets, utils } from'rtp.js';
66
+
67
+
// CJS
68
+
const { packets, utils } =require('rtp.js'=;
69
+
```
70
+
71
+
## Note about TypeScript
72
+
73
+
**rtp.js** is written in TypeScript with `module: NodeNext`, meaning that TypeScript projects that have **rtp.js** as dependency must have `moduleResolution` with value "node16", 'NodeNext" or "bundler" in their `tsconfig.json` file.
74
+
60
75
## Authors
61
76
62
77
- Iñaki Baz Castillo [[website](https://inakibaz.me)|[github](https://github.com/ibc/)]
0 commit comments