Skip to content

Commit a048fcd

Browse files
committed
📝 examples link in README
1 parent 8c265ae commit a048fcd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { join } from "node:path";
2121
const name= "foo bar";
2222
s.mkdir(join(s.tempdir(), name));
2323
```
24+
…also see [examples](./examples).
2425

2526
## Installation
2627

examples/backup-github.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env nodejsscript
2-
import { s, cli, fetch, exit } from "/home/jaandrle/.nvm/versions/node/current/lib/node_modules/nodejsscript/index.js";
2+
import { s, cli, fetch, exit } from "nodejsscript";
33
(async function main(){
44
const username= await cli.read({ "-p": "What is your GitHub username?" });
55
const token= await cli.read({ "-p": 'Do you have GitHub token in env?', completions: Object.keys(process.env) });

0 commit comments

Comments
 (0)