You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
module.exports.hello = function() { return 'world'; } #include <node.h> #include <v8.h> using namespace v8; Handle<Value> Hello(const Arguments& args) { HandleScope scope; return scope.Close(String::New("Hello World!")); } void init(Handle<Object> exports) { exports->Set(String::NewSymbol("hello"), FunctionTemplate::New(Hello)->GetFunction()); } NODE_MODULE(addon, init) // 後ろにセミコロンいらない
From our experience of working on Node.js projects, we’ve established a common set of development libraries and services that help a great deal with building those projects, and we thought it would be good to share them. What do Node.js projects need?Whether it is a server-based job worker or a web application, there is a common need for tools that tackle these requirements: Testing and code cover
今、Node.jsに起きてることを語る上で、io.jsは避けて通れない話題でしょう。 今回のNode.js アドベントカレンダー 2014の締めを飾るために、このio.jsについて僕が知っている限りの事をまとめて書くことにします。 io.jsを知り、今後"Node"がどうなっていくのかを皆で一緒に考えていきましょう。 またこの一連のio.jsのfork騒動はOSSという特殊なプロジェクトをどう進めていくのがハッピーなのかを知る一つの教材だと思います。 OSSに関わっている皆さん、今回も長いですが、最後まで読んでもらえると幸いです。 io.js とは何か Node.jsのForkです。次のNode.jsの安定版になる、v0.12をForkしています。「アイ・オー ジェイエス」と読みます。名前の由来は木星にある四番目に大きな衛星の名前から取られました。*1 Nodeを使っている人のことをnod
This is the first of two posts. This post covers a somewhat detailed tutorial on using Docker as a replacement for Vagrant when developing a Node app using the Express framework. To make things a bit non-trivial, the app will persist session information in Redis using the connect-redis middleware. The second post will cover productionizing this development setup. The Node App The app consists of a
LevelDB and Node An Introduction by Rod Vagg / tw:@rvagg / gh:rvagg / bl:http://r.va.gg LevelDB in a Nutshell Open-source, embedded key/value store by Google Sorted by keys Values are compressed with Snappy Basic operations: Get(), Put(), Del() Atomic Batch() Bi-directional iterators Basic architecture LSM-tree Writes go straight into a log / memtable Log is flushed to 2MB string sorted table (SST
Home About Skills Blog Contact @notduncansmith hello@duncanmsmith.com 256.682.6570 Birmingham, AL Blog Why I Won't Switch To Go (from Node.js) 26 Apr 2014 I've been reading about and playing with Go lately, and I wanted to talk briefly about why I'm not ready to make the switch from Node to Go (and why you shouldn't either). First, there are a lot of complaints that people raise every time Node.js
A major strength of Node.js is great cross-platform support. With a little effort you can make sure your code will run on Windows, Linux and OSX. March 25, 2014 Updated October 2, 2023 Cross-platform if you want ¶ Node.js is cross-platform meaning it works on Windows, OSX and Linux. A large number of the Node.js community write Node.js on OSX and then deploy to Linux servers. Because OSX and Linux
image/svg+xmlMetalsmith logoKevin Van LierdeIan Storm TaylorAn extremely simple, pluggable static site generator for NodeJS. Get Started ConvenientMetalsmith works with all the tools and data formats you already know and use: NodeJS, npm, markdown, json, yaml and the templating language of your choice. SimpleMetalsmith translates a directory tree to plain Javascript objects that you can manipulate
Getting Started with Gulp This article will make the assumption that you have never used a build tool or command-line interface before and will walk through every step required to get up and running with gulp. The good news is that it is actually pretty simple! I have created five basic steps that walk you through all of the intimidating stuff and introduce you to the core ideas that you will need
semver.io semver.io is a plaintext and JSON webservice that tracks all available versions of node.js, iojs, npm, yarn, nginx, and mongodb. It uses that version info to resolve semver range queries. It's used by Heroku's node buildpack and is open-sourced on GitHub. Other sources Semver.io uses a simple and short module system to pull version data from a variety of sources. Pull requests are welcom
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く