npm addon example, created by nan