New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

web-ifc

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-ifc - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

package.json
{
"name": "web-ifc",
"version": "0.0.12",
"version": "0.0.13",
"description": "ifc loading on the web",

@@ -5,0 +5,0 @@ "main": "web-ifc-api.js",

@@ -13,6 +13,2 @@ # web-ifc

## Installing the library as a C++ dependency
The library is header only, the files in `web-ifc-cpp` can be trivially included in any project. The library depends on [GLM](https://github.com/g-truc/glm) and [earcut](https://github.com/mapbox/earcut.hpp).
## Using the library

@@ -25,3 +21,2 @@

```JavaScript
const WebIFCWasm = require("web-ifc/web-ifc.js");
const WebIFC = require("web-ifc/web-ifc-api.js");

@@ -32,4 +27,4 @@

// load model data as a string
await ifcApi.InjectWasmModule(WebIFCWasm);
// initialize the library
await ifcApi.Init();

@@ -66,1 +61,5 @@ // open a model from data

Compiling the library to a standalone executable requires use of CMAKE. For visual studio code, the easiest way is by installing [cmake-tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools).
## Using the library as a C++ dependency
The library is header only, the files in `web-ifc-cpp` can be trivially included in any project. The library depends on [GLM](https://github.com/g-truc/glm) and [earcut](https://github.com/mapbox/earcut.hpp).

@@ -31,3 +31,3 @@ export interface Vector<T> {

*/
InjectWasmModule(WebIFCWasm: any): Promise<void>;
Init(): Promise<void>;
/**

@@ -34,0 +34,0 @@ * Opens a model and returns a modelID number

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc