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.
1 parent 9b6876f commit 5ef006fCopy full SHA for 5ef006f
README.md
@@ -136,6 +136,24 @@ const a: unknown = "Hello";
136
const _: string = maybe(a, is.String) ?? "default value";
137
```
138
139
+## Node.js (npm)
140
+
141
+To use `unknownutil` in [Node.js][nodejs], install `unknownutil` like
142
143
+```console
144
+npm i unknownutil
145
+```
146
147
+Then import `is`, `assert`, `ensure`, and `maybe` like:
148
149
+```typescript, ignore
150
+import { assert, ensure, is, maybe } from "unknownutil";
151
152
+// ...
153
154
155
+[nodejs]: https://nodejs.org/
156
157
## Migration
158
159
See [GitHub Wiki](https://github.com/lambdalisue/deno-unknownutil/wiki) for
0 commit comments