console-gui-tools
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "console-gui-tools", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "A simple library to draw option menu, text popup or other widgets and layout on a Node.js console.", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/ConsoleGui.mjs", |
@@ -34,2 +34,15 @@ # console-gui-tools | ||
## Importing the library | ||
The library is transpiled to ESM and CJS, so you can import it with both syntax. | ||
### ESM syntax | ||
```js | ||
import { ConsoleManager } from 'console-gui-tools' | ||
``` | ||
### CommonJS syntax | ||
```js | ||
const { ConsoleManager } = require('console-gui-tools') | ||
``` | ||
<details> | ||
@@ -36,0 +49,0 @@ <summary>OPTIONS</summary> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1107084
611
0