
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
open-cloud-client
Advanced tools
Client.js is a library for implementing BIM Project management applications.
Client.js
is a JavaScript library for implementing cross-browser BIM Project management applications. Client.js
provides the following benefits:
Open a terminal in your project folder and run:
npm install open-cloud-cllient
The Client.js
package will be downloaded and installed. Then you're ready to import it in your code, see example below.
Declare your script, and then use ODA
object as shown below.
<script src="https://opencloud.azureedge.net/libs/clientjs/24.12/client.min.js"></script>
<script>
const client = new ODA.Client();
// place your code here (see example below)
</script>
Download and render a drawing file from the Open Cloud Server
:
// create instance of the Client class for working with server
const client = new ODA.Client({ serverUrl: "https://cloud.opendesign.com/api" });
// create instance of Viewer class for rendering drawing files
const viewer = new ODA.Viewer(client);
// initialize Viewer it with the specified <canvas> element
await viewer.initialize(canvas);
// login to the server
await client.signInWithEmail("email", "password");
// get file list from the server
const files = await client.getFiles();
// open the first file in the list
await viewer.open(files.result[0]);
To learn more, see First application guide.
Code and documentation copyright 2002-2023 the Open Design Alliance. Code is distributed under a proprietary license, see LICENSE
for more information.
FAQs
Client.js is a library for implementing BIM Project management applications.
The npm package open-cloud-client receives a total of 19 weekly downloads. As such, open-cloud-client popularity was classified as not popular.
We found that open-cloud-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.