nodejs / abi-stable-node

Repository used by the Node-API team to manage work related to Node-API and node-addon-api
239 stars 47 forks source link

Tracking issue for modules we've noticed are ported to Oct 2019 - Oct 2020 #387

Closed mhdawson closed 3 years ago

mhdawson commented 4 years ago

Issue for 2018-2019 - (https://github.com/nodejs/abi-stable-node/issues/346)

gabrielschulhof commented 4 years ago

@vweevers has created a list of native addons that are (not yet) ported to N-API. The list exists for a different reason, but I believe it is relevant to us because it gives us targets for which to evangelize and/or PR the move to N-API.

https://github.com/vweevers/about-native-modules

vweevers commented 4 years ago

@gabrielschulhof I can extend the list if there's interest.

NickNaso commented 4 years ago

@vweevers Yes please because we can use in our evangelism activities. We already have a list of native add-on here https://docs.google.com/spreadsheets/d/1HopFSLMs5gj3G6_eBEZM2ET7oXKdokAF7VU2XZnzYGk

gabrielschulhof commented 4 years ago

@NickNaso I added sodium-native to the top of that list.

vweevers commented 4 years ago

WIP: https://github.com/vweevers/about-native-modules#data

vweevers commented 4 years ago

In case y'all missed it: I also committed the data as JSON, to easily filter it. For example, to get the top 100 non-napi addons:

const addons = require('about-native-modules/data.json')
const top = addons.filter(addon => !addon.napi).slice(0, 100)

console.log(top.map(addon => addon.name))
andreek commented 4 years ago

Module websocket is considering to use napi versions of bufferutil and utf-8-validate: https://github.com/theturtle32/WebSocket-Node/pull/302#issuecomment-562740142

lovell commented 4 years ago

Hi everyone, thanks for the effort you've made to get N-API stable and provide node-addon-api to ease working with it. You'll be pleased to learn that the latest version of sharp has now migrated to it from nan.

According to the data in the linked https://github.com/vweevers/about-native-modules repo, it looks like sharp is now the most-downloaded native module to be using N-API!

gabrielschulhof commented 4 years ago

I also noticed that simdjson was using node-addon-api.

NickNaso commented 4 years ago

I want report this new Rust binding to N-API: https://github.com/napi-rs/napi-rs

NickNaso commented 4 years ago

Implementation of webassembly code interfaces based on N-API https://github.com/yjjnls/napi-emscripten

gabrielschulhof commented 4 years ago

@jschlight mentioned that sqlite3 v5.0.0 is running on N-API: https://github.com/mapbox/node-sqlite3/releases/tag/v5.0.0

NickNaso commented 4 years ago

I contributed to port this module https://github.com/lovell/highwayhash the next release will be a N-API add-on.

andreek commented 4 years ago

Module websocket is considering to use napi versions of bufferutil and utf-8-validate: https://github.com/theturtle32/WebSocket-Node/pull/302#issuecomment-562740142

v1.0.32 has been released and is using N-API modules from ws project.

jschlight commented 3 years ago

I've updated Matteo's native-hdr-histogram binding to N-API 3 using my automated binding tool. Now published at v1.0.0, the project is completely modernized using prebuildify and GitHub Actions for testing, prebuild, and publishing.