An open API service indexing awesome lists of open source software.

https://github.com/tony-go/hands-on-napi

Demonstrates how to create a Node.js N-API addon for cryptographic hashing using C++.
https://github.com/tony-go/hands-on-napi

Last synced: 3 months ago
JSON representation

Demonstrates how to create a Node.js N-API addon for cryptographic hashing using C++.

Awesome Lists containing this project

README

        

# Hand-on: Write C++ in you Node.js application

## Overview

This project demonstrates how to create a Node.js N-API addon for cryptographic hashing using
C++ (OpenSSL). It includes a comparison between a native Node.js function doing cryptographic
work and a C++ one.

## Prerequisites

* Node.js
* Python
* Node-gyp (`npm i -g node-gyp`)

## Installation and build

```shell
npm i
```

## RUn

```shell
npm start
```