% npx https://gist.github.com/phi-jp/ece89312935c7daa88833ad5cf073226
Last active
February 15, 2020 06:50
-
-
Save phi-jp/ece89312935c7daa88833ad5cf073226 to your computer and use it in GitHub Desktop.
npx 使ってみた
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var fs = require('fs'); | |
console.log('npx を使ってみた'); | |
fs.writeFileSync('test.txt', 'npx 経由でファイル出力してみた!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npx-demo", | |
"version": "0.0.1", | |
"bin": "./index.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment