├── .gitignore ├── CMakeLists.txt ├── README.md ├── addon.cpp ├── example-app ├── .gitignore ├── App.tsx ├── app.json ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ └── splash-icon.png ├── babel.config.js ├── index.ts ├── metro.config.js ├── package-lock.json ├── package.json └── tsconfig.json ├── index.d.ts ├── index.js ├── index.test.ts └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | build/ 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/README.md -------------------------------------------------------------------------------- /addon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/addon.cpp -------------------------------------------------------------------------------- /example-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/.gitignore -------------------------------------------------------------------------------- /example-app/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/App.tsx -------------------------------------------------------------------------------- /example-app/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/app.json -------------------------------------------------------------------------------- /example-app/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/assets/adaptive-icon.png -------------------------------------------------------------------------------- /example-app/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/assets/favicon.png -------------------------------------------------------------------------------- /example-app/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/assets/icon.png -------------------------------------------------------------------------------- /example-app/assets/splash-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/assets/splash-icon.png -------------------------------------------------------------------------------- /example-app/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/babel.config.js -------------------------------------------------------------------------------- /example-app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/index.ts -------------------------------------------------------------------------------- /example-app/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/metro.config.js -------------------------------------------------------------------------------- /example-app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/package-lock.json -------------------------------------------------------------------------------- /example-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/package.json -------------------------------------------------------------------------------- /example-app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/example-app/tsconfig.json -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./build/Release/my-lib.node"); 2 | -------------------------------------------------------------------------------- /index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/index.test.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callstackincubator/node-api-example-lib/HEAD/package.json --------------------------------------------------------------------------------