{"id":13995946,"url":"https://github.com/charto/nbind-example-universal","last_synced_at":"2025-04-06T12:32:01.752Z","repository":{"id":88492152,"uuid":"60523901","full_name":"charto/nbind-example-universal","owner":"charto","description":"Example of compiling C++ to asm.js and Node.js addons","archived":false,"fork":false,"pushed_at":"2016-12-12T21:41:00.000Z","size":76,"stargazers_count":14,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T23:51:15.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/charto.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}},"created_at":"2016-06-06T11:50:20.000Z","updated_at":"2023-09-22T08:20:50.000Z","dependencies_parsed_at":"2024-01-23T08:58:15.965Z","dependency_job_id":"1bc04396-6d72-4fc0-b86e-ebabec132897","html_url":"https://github.com/charto/nbind-example-universal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charto%2Fnbind-example-universal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charto%2Fnbind-example-universal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charto%2Fnbind-example-universal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charto%2Fnbind-example-universal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charto","download_url":"https://codeload.github.com/charto/nbind-example-universal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247484350,"owners_count":20946384,"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-08-09T14:03:40.987Z","updated_at":"2025-04-06T12:32:01.369Z","avatar_url":"https://github.com/charto.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"nbind-example-universal\n=======================\n\n[![build status](https://travis-ci.org/charto/nbind-example-universal.svg?branch=master)](http://travis-ci.org/charto/nbind-example-universal)\n\nThis is an example of using [nbind](https://github.com/charto/nbind)\nto distribute a native Node.js addon with an asm.js fallback,\nalso usable from web browsers.\n\nThe **optional** native addon is installed if you have one of the following C++ compilers:\n\n- GCC 4.8 or above\n- Clang 3.6 or above\n- Visual Studio 2015 ([The Community version](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) is fine)\n\nOtherwise the asm.js fallback is used.\n\nUsage\n-----\n\nFirst install:\n\n```bash\ngit clone https://github.com/charto/nbind-example-universal.git\ncd nbind-example-universal\nnpm install\n```\n\nThen run the example in Node.js with `npm test` or in the browser by running\n`npm start` and navigating to [http://localhost:8080/](http://localhost:8080/).\n\nNote that you shouldn't add the compiled asm.js code in version control.\nIn this example it's present in the `dist` directory simply to allow installing\ndirectly from Github without having Emscripten available.\n\nLicense\n=======\n\nThis example is public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharto%2Fnbind-example-universal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharto%2Fnbind-example-universal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharto%2Fnbind-example-universal/lists"}