napi-rs/examples/napi/src
forehal a781a4f27e feat(cli): brand new cli tool with both cli and programmatical usage (#1492)
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
2023-04-06 11:04:53 +08:00
..
array.rs feat(napi): support rust array to js array 2022-08-12 17:53:36 +08:00
async.rs feat(napi): re-export tokio and features 2022-01-23 23:04:31 +08:00
bigint.rs fix(napi): missing From implementation for Bigint (#1440) 2023-01-17 00:05:19 +08:00
callback.rs fix(napi): propagation error in function call (#1315) 2022-09-14 19:30:43 +08:00
class.rs feat(cli): brand new cli tool with both cli and programmatical usage (#1492) 2023-04-06 11:04:53 +08:00
class_factory.rs chore: add example for return this 2021-11-25 23:42:40 +08:00
date.rs add unit test that shows Date is rendered in TS type in interface 2022-02-10 18:52:57 +01:00
either.rs fix(napi): unhandled promise rejection while using EitherN<Promise<..>> (#1452) 2023-01-24 19:07:33 +08:00
enum.rs feat(napi-derive-backend, napi-derive): add support for string enums (#1551) 2023-04-03 14:10:58 +08:00
error.rs fix(napi): support custom status in Error (#1486) 2023-02-09 23:18:57 +08:00
external.rs feat(napi): support external deref/derefMut 2021-12-11 13:42:46 +08:00
fn_strict.rs fix(napi): validate fn for Option<T> 2022-07-06 14:01:32 +08:00
fn_ts_override.rs feat(napi-derive): add ts_arg_type attribute to override individual args on functions (#1192) 2022-05-22 13:43:11 +08:00
generator.rs fix(napi): missing iterator implementation from class factory 2022-05-10 21:50:20 +08:00
js_mod.rs style: clippy fix 2022-03-05 23:05:04 +08:00
lib.rs fix(cli,napi-derive): re-export types from shared crate (#1531) 2023-03-21 18:12:52 +08:00
map.rs test(napi): add tests for hashmap <-> object 2021-12-19 23:17:54 +08:00
nullable.rs fix(napi-derive-backend): Null and Undefined return type 2021-12-18 13:42:55 +08:00
number.rs Full qualify types 2021-11-14 23:34:44 +00:00
object.rs feat(napi-derive): allow partial implement From/To Napivalue for Object (#1448) 2023-01-24 14:51:16 +08:00
promise.rs feat(napi): await Promise<T> in async fn 2021-11-15 16:54:55 +08:00
reference.rs feat(napi): add support for weak references 2022-05-10 21:09:45 +08:00
serde.rs fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
shared.rs fix(cli,napi-derive): re-export types from shared crate (#1531) 2023-03-21 18:12:52 +08:00
string.rs Fix String roundtrip with interior nul bytes 2022-02-04 16:52:44 +08:00
symbol.rs feat(napi): improve symbol support 2021-11-15 23:10:15 +08:00
task.rs feat(napi): experimental iterator support 2022-05-06 18:03:04 +08:00
threadsafe_function.rs test(napi): update test case for checking electron renderer crash (#1547) 2023-03-29 12:53:57 +08:00
typed_array.rs style: clippy fix 2022-12-16 20:19:39 +08:00