New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

as-mesh

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-mesh

AS MeshSDK - Mesh processing library writing in CPP with extra **PYTHON/C/C#/JS/TS** bindings.

latest
Source
npmnpm
Version
1.5.9
Version published
Maintainers
1
Created
Source

AS MeshSDK - Javascript/Typescript Binding

MeshSDK JS/TS wrapper by compiling to WASM via Emscripten so that all native features can be used in browser/nodejs environments.

Using as-mesh in JavaScript/TypeScript

Install

as-mesh is available as a UMD module compatible with both NodeJS and browsers, and includes TypeScript definitions.

npm install as-mesh

Usage

To use the as-mesh, do the following:

import { createMeshSDK } from 'as-mesh';

const mrmesh = await createMeshSDK();

Ensure cross-origin isolation (COOP + COEP) is supported:

1.Vite

export default defineConfig({
  ...,

  server: {
    headers: {
      // Enforcing cross-origin isolation of pages
      'Cross-Origin-Opener-Policy': 'same-origin',
      'Cross-Origin-Embedder-Policy': 'require-corp'
    }
  },

  ...
});

2.Nginx

server {
  listen 80;
  server_name your.domain.com;
  
  add_header Cross-Origin-Opener-Policy same-origin;
  add_header Cross-Origin-Embedder-Policy require-corp;
  
  root /var/www/your-app;
  index index.html;
}

Local Development

# npm install
npm install  --registry=https://registry.npmmirror.com

npm run build

Release

npm config delete proxy
npm config delete https-proxy

npm config get proxy
npm config get https-proxy

npm config set proxy http://127.0.0.1:7890
npm config set https-proxy http://127.0.0.1:7890

npm config set registry https://registry.npmmirror.com
npm config set registry https://registry.npmmirror.com --location=project
npm config set registry https://registry.npmjs.org/

npm login
npm publish --tag beta --access public
npm publish --tag latest --access public

Keywords

meshsdk-binding

FAQs

Package last updated on 04 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts