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++.
- Host: GitHub
- URL: https://github.com/tony-go/hands-on-napi
- Owner: tony-go
- Created: 2024-01-20T18:09:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-08T08:46:06.000Z (over 1 year ago)
- Last Synced: 2025-02-04T16:18:26.323Z (5 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```