{"_id":"@alpinebuster/3mesh","name":"@alpinebuster/3mesh","dist-tags":{"latest":"1.5.7"},"versions":{"1.5.7":{"name":"@alpinebuster/3mesh","version":"1.5.7","description":"3MeshSDK - Mesh processing library writing in CPP with extra **PYTHON/C/C#/JS/TS** bindings.","type":"module","types":"lib/index.d.ts","main":"lib/index.js","browser":"lib/index.js","scripts":{"build:rollup":"rollup -c","build:src":"tsc -p tsconfig.json","build:bundle":"tsc -p tsconfig.bundle.json","bundle":"node ./bundle.js","build":"npm run build:bundle && npm run bundle && npm run build:src","test":"jest"},"keywords":["meshsdk-binding","3d","point-cloud"],"author":{"name":"alpinebuster"},"homepage":"https://github.com/alpinebuster/3mesh-sdk#readme","bugs":{"url":"https://github.com/alpinebuster/3mesh-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/alpinebuster/3mesh-sdk.git"},"license":"Apache-2.0","devDependencies":{"@rollup/plugin-commonjs":"^29.0.2","@rollup/plugin-node-resolve":"^16.0.3","@rollup/plugin-typescript":"^12.3.0","@types/emscripten":"^1.41.5","@types/jest":"^30.0.0","@types/node":"^25.5.0","jest":"^30.3.0","prettier":"^3.8.1","rollup":"^4.60.1","ts-jest":"^29.4.6","ts-node":"^10.9.2","tslib":"^2.8.1","typescript":"^5.9.3"},"_id":"@alpinebuster/3mesh@1.5.7","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-ytlFf3os4t7QK8FEyM7gSrl4zNA+39JOlY9anGf9lfKN6uOCWKzVTuVqjKST+ZNNh7kciJHCWspyBvlxlNFu5w==","shasum":"55374741a2559e584daecbdf61ff28e62c3c8291","tarball":"https://registry.npmjs.org/@alpinebuster/3mesh/-/3mesh-1.5.7.tgz","fileCount":11,"unpackedSize":11384377,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+QSanJusFb9auEZBwUIu2rp7OGOYIEVrIrPxojBjgBAIhAJXGDvY/Z+Ldem1fEuBscbL3cRvPT9QPHh4HJXDFGxln"}]},"_npmUser":{"name":"alpinebuster","email":"imzqqq@hotmail.com"},"directories":{},"maintainers":[{"name":"alpinebuster","email":"imzqqq@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/3mesh_1.5.7_1775036752536_0.3786070134040642"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T09:45:52.408Z","1.5.7":"2026-04-01T09:45:52.792Z","modified":"2026-04-01T09:45:53.078Z"},"maintainers":[{"name":"alpinebuster","email":"imzqqq@hotmail.com"}],"description":"3MeshSDK - Mesh processing library writing in CPP with extra **PYTHON/C/C#/JS/TS** bindings.","homepage":"https://github.com/alpinebuster/3mesh-sdk#readme","keywords":["meshsdk-binding","3d","point-cloud"],"repository":{"type":"git","url":"git+https://github.com/alpinebuster/3mesh-sdk.git"},"author":{"name":"alpinebuster"},"bugs":{"url":"https://github.com/alpinebuster/3mesh-sdk/issues"},"license":"Apache-2.0","readme":"# 3MeshSDK\n\n`3meshsdk` JS/TS implementation. It supports compilation\nto WASM via [Emscripten](https://emscripten.org/) so that `3mesh-sdk` features can be used in a browser.\n\n## Getting Started\n\n```sh\nnpm install\nnpm run build\n```\n\n## Release Publishing\n\n```sh\n# Add `//registry.npmjs.org/:_authToken=${NPM_TOKEN}` to `~/.npmrc`\nvi ~/.npmrc\nnpm login\nnpm publish --tag beta --access public\nnpm publish --tag latest --access public\n\n# (Optional)\nnpm config delete proxy\nnpm config delete https-proxy\n\nnpm config get proxy\nnpm config get https-proxy\n\nnpm config set proxy http://127.0.0.1:7890\nnpm config set https-proxy http://127.0.0.1:7890\n\nnpm config set registry https://registry.npmmirror.com\nnpm config set registry https://registry.npmmirror.com --location=project\n\nnpm config set registry https://registry.npmjs.org/\n\n```\n\n## Install\n\n`3meshsdk` is available as a UMD module compatible with both NodeJS and browsers,\nand includes TypeScript definitions.\n\n```sh\nnpm install 3meshsdk\n```\n\n### Usage\n\nTo use the meshsdk, do the following:\n\n```js\nimport { createMeshSDK } from '3meshsdk';\n\nconst mrmesh = await createMeshSDK();\n```\n\nEnsure cross-origin isolation (COOP + COEP) is supported:\n\n1.Vite\n\n```js\nexport default defineConfig({\n  ...,\n\n  server: {\n    headers: {\n      // Enforcing cross-origin isolation of pages\n      'Cross-Origin-Opener-Policy': 'same-origin',\n      'Cross-Origin-Embedder-Policy': 'require-corp'\n    }\n  },\n\n  ...\n});\n```\n\n2.Nginx\n\n```nginx\nserver {\n  listen 80;\n  server_name your.domain.com;\n  \n  add_header Cross-Origin-Opener-Policy same-origin;\n  add_header Cross-Origin-Embedder-Policy require-corp;\n  \n  root /var/www/your-app;\n  index index.html;\n}\n```\n","readmeFilename":"README.md","_rev":"1-77ade23b1189c6d3881090870bf782b5"}