docs: napi6 should be napi7

This commit is contained in:
LongYinan 2020-12-10 14:26:53 +08:00
parent 932ebcbee5
commit 8513e4f796
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881

View file

@ -6,7 +6,7 @@
//!
//! ## Feature flags
//!
//! ### napi1 ~ napi6
//! ### napi1 ~ napi7
//!
//! Because `NodeJS` N-API has versions. So there are feature flags to choose what version of `N-API` you want to build for.
//! For example, if you want build a library which can be used by `node@10.17.0`, you should choose the `napi5` or lower.