/hands-on-napi

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

Primary LanguageC++

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

npm i

RUn

npm start