napi-rs/examples/napi/src
2023-08-17 20:48:54 +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 chore(example): add callback return promise (#1590) 2023-05-16 11:05:37 +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
constructor.rs fix(backend): attribute of a struct marked as #[napi(constructor)] contain Rust keywords, causing to throw is not a valid identifier when generating getters and setters 2023-08-17 20:48:54 +08:00
date.rs feat(napi): support chrono::NaiveDateTime (#1601) 2023-05-26 18:28:34 +08:00
either.rs fix(napi): promise resolve error (#1664) 2023-07-24 00:36:24 +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 feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +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(backend): attribute of a struct marked as #[napi(constructor)] contain Rust keywords, causing to throw is not a valid identifier when generating getters and setters 2023-08-17 20:48:54 +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 fix(napi): re-throw error in ThreadsafeFunction callback if we could 2023-04-10 17:02:13 +08:00
typed_array.rs style: clippy fix 2022-12-16 20:19:39 +08:00