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

hxdrassetupload

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hxdrassetupload

## Description Pocket size library to upload assets to HxDR (beta)

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

HxDRAssetUpload

Description

Pocket size library to upload assets to HxDR (beta)

To build

This is the source code of an npm package. To build install and build the library. This will create a lib folder with the transpiled library.

npm install
npm run build

To test

Some test have been added that run in nodejs.

npm run test

To install

Simply install the NPM package in to your project

npm install ndbsqlite

To use

  • Define your own models extending from NDBModel
    const hxDrAsseUpload= new HxDRAssetUpload({db});
    hxDrAsseUpload.start();
    
    // ...  execute your tasks here i.e.
    const asset = new HxDRAssetUploadTask({
        assetName: assetName,
        assetId: "",
        parentFolderId: "647dc49f-4696-4660-941e-8eb4ed66dccf",
        assetType: AssetTypeEnum.OBJ_UPLOAD,
        status: HxDRUploadStatusEnum.NEW
    })
    this.hxdrAsseUpload.addNewTask(asset, files).then(value=>{
        res.json(value);
    });



   hxDrAsseUpload.stop();

Requirements.

  • Sqlite3 is used to provide the sqlite functionality
  • Express is optional and only required if you need create the REST API

FAQs

Package last updated on 08 Sep 2023

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