Skip to content

Commit 02d8677

Browse files
authored
Update README.md
1 parent 8b60d02 commit 02d8677

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ npm install raylib
8080
## DRM
8181
On some ARM devices like Raspberry PI, raylib can be used in a DRM mode instead of rendering to an x11 window. This version requires a seperate
8282
native addon, and on installation on ARM devices node-raylib will include both. To use the DRM mode, import `raylib/drm` instead.
83+
```js
84+
import * as rl from 'raylib/drm'
85+
const rl = require('raylib/drm')
86+
```
8387
8488
### CLI
8589

0 commit comments

Comments
 (0)