{"id":18739582,"url":"https://github.com/springmeyer/node-cxx-example","last_synced_at":"2025-04-12T20:02:09.193Z","repository":{"id":66365749,"uuid":"227468650","full_name":"springmeyer/node-cxx-example","owner":"springmeyer","description":"A modern (as of 2020) example of writing a node C++ module","archived":false,"fork":false,"pushed_at":"2020-03-04T00:45:51.000Z","size":8,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T14:12:13.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/springmeyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-11T22:01:47.000Z","updated_at":"2023-03-04T06:35:10.000Z","dependencies_parsed_at":"2023-02-20T16:15:40.311Z","dependency_job_id":null,"html_url":"https://github.com/springmeyer/node-cxx-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fnode-cxx-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fnode-cxx-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fnode-cxx-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fnode-cxx-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springmeyer","download_url":"https://codeload.github.com/springmeyer/node-cxx-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625494,"owners_count":21135513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T15:36:24.709Z","updated_at":"2025-04-12T20:02:09.168Z","avatar_url":"https://github.com/springmeyer.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-cxx-example\n[![Build Status](https://travis-ci.com/springmeyer/node-cxx-example.svg?branch=master)](https://travis-ci.com/springmeyer/node-cxx-example)\n\nThis is a modern (as of 2020) example of a simple node C++ module (aka addon).\n\nIt is designed to be used as a template by those interested in having a relatively simple starting point for experiments and learning.\n\nIf you are looking to write a new production quality node module a better starting point would be https://github.com/mapbox/node-cpp-skel, because it contains more build and testing scaffolding to catch bugs you might write.\n\n# Supports\n\n - OS X\n - Node \u003e= 8\n\nLinux support may be added in the future.\n\n# Building\n\nFirst install dependencies:\n\n```\nnpm ci\n```\n\nThen, build or rebuild the C++ code with:\n\n```bash\n./compile-and-link.sh\n```\n\nRun `./compile-and-link.sh` every time you change anything in `module.cpp`.\n\n# Testing\n\nRun:\n\n```bash\nnode test.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fnode-cxx-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmeyer%2Fnode-cxx-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fnode-cxx-example/lists"}