Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

メモ:npm

参考

必須パッケージインストール

sudo npm install -g node-cli
sudo npm install -g grunt-cli

.gitignore

  • npm install./node_modules/が生成されるため除外。
.gitignore
node_modules/

動かしてみた

JSNES

ビルド
git clone https://github.com/GusCaplan/jsnes.git
cd jsnes
npm install
grunt
webサーバ起動
python -m SimpleHTTPServer
  • http://localhost:8000 にアクセス
    • フォルダ全体を別のwebサーバに移しても動作する。
  • firefoxだと遅い(chromeの半分程度)。音出る。
  • chrominium: 早い。音出ない
  • google-chrome: 早い。音出る

OS.js-v2

ビルド
git clone https://github.com/andersevenrud/OS.js-v2.git
cd OS.js-v2
npm install
grunt
起動
./bin/start-dist.sh
  • http://localhost:8000 にアクセス
  • メモを作成すると以下に保存される。
    • ./vfs/home/demo/メモ1.odoc

c -> js

snes

sudo apt-get install -y emscripten
git clone https://github.com/tjwei/xnes.git
cd xnes
./buildall
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
1
Help us understand the problem. What are the problem?