Commit Graph

  • b1d40d3f4f Refactor CreateClass function to simplify parameters and improve class construction logic class Matheus Sampaio Queiroga 2025-05-19 12:33:33 -03:00
  • 01b13f35a6 Refactor callback handling to use CallbackInfo struct for improved clarity and consistency Matheus Sampaio Queiroga 2025-05-19 12:29:15 -03:00
  • f5b390708d Refactor callback handling to use CallbackInfo struct for improved clarity and consistency main Matheus Sampaio Queiroga 2025-05-19 12:29:15 -03:00
  • ec1d76e51e Start class implementation Matheus Sampaio Queiroga 2025-04-28 16:10:53 -03:00
  • 356010d039 Refactor linkname directives to point to the correct module.Register and implement threadsafe function handling Matheus Sampaio Queiroga 2025-05-17 22:21:44 -03:00
  • 793989dc2a Add docs and remove threadsafe_function Matheus Sampaio Queiroga 2025-05-17 01:36:40 -03:00
  • 813d742aff Add docs and remove threadsafe_function v0.1.2 Matheus Sampaio Queiroga 2025-05-17 01:36:40 -03:00
  • 379bd75a8e Refactor JS value to Go type conversion Matheus Sampaio Queiroga 2025-04-28 19:15:59 -03:00
  • 42a0c9998d fix goValuesInFunc new value Matheus Sampaio Queiroga 2025-04-28 16:46:08 -03:00
  • 3668cf5c7a Feat: Add ArrayBuffer, DataView, TypedArray, External support Matheus Sampaio Queiroga 2025-04-28 13:39:22 -03:00
  • 3d448ec949 Feat: Implement N-API thread-safe functions Matheus Sampaio Queiroga 2025-04-28 12:20:44 -03:00
  • aaacbc7674 Refactor AsyncWorker to return Promise Matheus Sampaio Queiroga 2025-04-28 11:28:19 -03:00
  • 652638e8ee feat: Add AsyncWork and Promise support v0.1.1 Matheus Sampaio Queiroga 2025-04-27 19:25:52 -03:00
  • f2c4d39358 clean internal/napi files and add comments to types Matheus Sampaio Queiroga 2025-04-27 15:06:47 -03:00
  • f3cb022a9b Update README Matheus Sampaio Queiroga 2025-04-27 13:13:46 -03:00
  • 32f3ff500d Update pkg to same Node addon Header (#8) v0.1.0 Matheus Sampaio Queiroga 2025-04-27 06:59:21 +00:00
  • 7ae2cc336f docs: add README usage for js package Akshay Ganeshen 2022-06-26 20:14:27 -04:00
  • 43f8a1244e docs: add README link to docs/examples Akshay Ganeshen 2022-06-26 20:13:48 -04:00
  • 8c2731868f docs(examples): add js helpers go example Akshay Ganeshen 2022-06-26 20:10:59 -04:00
  • c6ed29b5ee feat: create napi-go/js helper library Akshay Ganeshen 2022-06-26 20:04:57 -04:00
  • e2671b0f23 feat: report stacktrace on callback recover Akshay Ganeshen 2022-06-26 18:31:54 -04:00
  • 714f7ec1fd feat(node_api): add ReleaseThreadsafeFunction Akshay Ganeshen 2022-06-26 18:30:20 -04:00
  • cfad755bd8 feat(node_api): add AcquireThreadsafeFunction Akshay Ganeshen 2022-06-26 18:30:06 -04:00
  • 0ba398b8bc feat(node_api): add CallThreadsafeFunction Akshay Ganeshen 2022-06-26 18:29:18 -04:00
  • 4aebebc322 feat(node_api): add CreateThreadsafeFunction Akshay Ganeshen 2022-06-26 18:27:23 -04:00
  • 6a1b86f3cf feat: define ThreadsafeFunction type Akshay Ganeshen 2022-06-26 18:25:23 -04:00
  • 06919c8914 feat(js_native_api): add GetValueBool Akshay Ganeshen 2022-06-26 18:23:29 -04:00
  • 0ad2482e7c feat(js_native_api): add GetValueDouble Akshay Ganeshen 2022-06-26 18:23:18 -04:00
  • 2de1a221fa feat(js_native_api): add CreateSymbol Akshay Ganeshen 2022-06-26 18:23:04 -04:00
  • 3f892347d1 feat(js_native_api): add CreateDouble Akshay Ganeshen 2022-06-26 18:22:52 -04:00
  • bf4d6f3b0b feat(js_native_api): add GetBoolean Akshay Ganeshen 2022-06-26 18:22:39 -04:00
  • 61998f65a7 feat(js_native_api): add GetGlobal Akshay Ganeshen 2022-06-26 18:22:27 -04:00
  • fe370a05f4 docs(examples): add callback go example Akshay Ganeshen 2022-06-22 20:46:19 -04:00
  • 70b522fe0a docs(examples): add async-promise go example Akshay Ganeshen 2022-06-22 20:45:33 -04:00
  • 119c3a7361 feat(node_api): add CancelAsyncWork Akshay Ganeshen 2022-06-22 20:43:04 -04:00
  • f11d4f3b55 feat(node_api): add QueueAsyncWork Akshay Ganeshen 2022-06-22 20:42:46 -04:00
  • 50b3d9f663 feat(node_api): add DeleteAsyncWork Akshay Ganeshen 2022-06-22 20:42:11 -04:00
  • 58734e6f84 feat(node_api): add CreateAsyncWork Akshay Ganeshen 2022-06-22 20:41:47 -04:00
  • 5555eee0b6 chore: reflow long lines in instance_data Akshay Ganeshen 2022-06-22 20:41:11 -04:00
  • 8581986f73 feat: create instance async work map Akshay Ganeshen 2022-06-22 20:40:44 -04:00
  • 54c4d63414 feat: define async work and async callback types Akshay Ganeshen 2022-06-22 20:38:50 -04:00
  • 67deb97baf feat(js_native_api): add RejectDeferred Akshay Ganeshen 2022-06-22 20:38:07 -04:00
  • 778274ec1d feat(js_native_api): add ResolveDeferred Akshay Ganeshen 2022-06-22 20:37:52 -04:00
  • ef2c56494f feat(js_native_api): add CreatePromise Akshay Ganeshen 2022-06-22 20:37:34 -04:00
  • 6d8494e9e3 feat: define promise and deferred type Akshay Ganeshen 2022-06-22 20:37:10 -04:00
  • 873570725c feat(js_native_api): add GetInstanceData Akshay Ganeshen 2022-06-22 20:36:34 -04:00
  • bee9f8cf31 feat(js_native_api): add SetInstanceData Akshay Ganeshen 2022-06-22 20:36:20 -04:00
  • 3c3201f425 feat(js_native_api): add GetValueStringUtf8 Akshay Ganeshen 2022-06-22 19:44:34 -04:00
  • 1875629b52 fix(js_native_api): handle 0 args in GetCbInfo Akshay Ganeshen 2022-06-22 19:43:57 -04:00
  • a9220226db feat(entry): convert exports to use CreateFunction Akshay Ganeshen 2022-06-22 19:40:35 -04:00
  • 0697271201 chore: rename entry flags to node_api_cgo_flags Akshay Ganeshen 2022-06-22 19:39:37 -04:00
  • 1368f58add feat(js_native_api): add CreateFunction Akshay Ganeshen 2022-06-22 19:38:35 -04:00
  • d3032fd1a6 feat: create instance data and callback map Akshay Ganeshen 2022-06-22 19:34:25 -04:00
  • 688393b14b feat: add StatusError error interface Akshay Ganeshen 2022-06-22 19:33:23 -04:00
  • 5cbad5f79a feat: add Status.String method Akshay Ganeshen 2022-06-22 19:33:01 -04:00
  • 97afe858fe docs(examples): add describe-args go example Akshay Ganeshen 2022-06-15 17:26:07 -04:00
  • 456fa4ea3e feat(js_native_api): add ThrowError Akshay Ganeshen 2022-06-15 17:24:25 -04:00
  • 7c62509e03 feat(js_native_api): add Throw Akshay Ganeshen 2022-06-15 17:24:15 -04:00
  • 687b9366f4 feat(js_native_api): add GetCbInfo Akshay Ganeshen 2022-06-15 17:24:04 -04:00
  • 60ffc8406b feat(js_native_api): add StrictEquals Akshay Ganeshen 2022-06-15 17:23:42 -04:00
  • 5770f3f79f feat(js_native_api): add SetElement Akshay Ganeshen 2022-06-15 17:23:29 -04:00
  • 90fb9a292f feat(js_native_api): add SetProperty Akshay Ganeshen 2022-06-15 17:23:16 -04:00
  • 67acaa32b8 feat(js_native_api): add Typeof Akshay Ganeshen 2022-06-15 17:23:01 -04:00
  • 0bc2e98d78 feat(js_native_api): add CreateError Akshay Ganeshen 2022-06-15 17:22:48 -04:00
  • aba6e69a30 feat(js_native_api): add CreateStringUtf8 Akshay Ganeshen 2022-06-15 17:21:45 -04:00
  • 84f814cdc1 feat(js_native_api): add CreateArrayWithLength Akshay Ganeshen 2022-06-15 17:21:26 -04:00
  • 63596adf46 feat(js_native_api): add CreateArray Akshay Ganeshen 2022-06-15 17:21:13 -04:00
  • 5dde416a83 feat(js_native_api): add CreateObject Akshay Ganeshen 2022-06-15 17:20:59 -04:00
  • 6171fcf46a feat(js_native_api): add GetNull Akshay Ganeshen 2022-06-15 17:20:42 -04:00
  • 6a4d8354ef feat(js_native_api): add GetUndefined Akshay Ganeshen 2022-06-15 17:20:18 -04:00
  • 7500f991dd feat(node_api): add GetModuleFileName Akshay Ganeshen 2022-06-15 17:19:01 -04:00
  • 0ade0e8eac feat(node_api): add GetNodeVersion Akshay Ganeshen 2022-06-15 17:18:39 -04:00
  • 520df4bc3f feat: add ValueType type and constants for napi_valuetype Akshay Ganeshen 2022-06-15 17:17:43 -04:00
  • 26a1e2e5d7 feat: add Status type and constants for napi_status Akshay Ganeshen 2022-06-15 17:17:17 -04:00
  • 15e0871b53 feat: add node_api_cgo_flags Akshay Ganeshen 2022-06-15 17:16:31 -04:00
  • 851d6f67fd chore: add MIT license Akshay Ganeshen 2022-06-13 19:20:15 -04:00
  • 7ba96a5837 docs: create minimal README with usage notes Akshay Ganeshen 2022-06-13 19:18:52 -04:00
  • de3087d047 feat: create makefile to build examples Akshay Ganeshen 2022-06-13 19:18:23 -04:00
  • f295aa7104 feat: add hello-world example Akshay Ganeshen 2022-06-13 19:18:09 -04:00
  • 956d2e5967 feat: create minimal napi defs and entry Akshay Ganeshen 2022-06-13 19:17:02 -04:00
  • f8115d02ef feat: create napi-go go.mod Akshay Ganeshen 2022-06-13 19:12:26 -04:00