npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

zego-express-docsview-electron

v2.12.0

Published

zego docsview electron sdk

Downloads

55

Readme

zego-express-docsview-electron

Prerequisites

  1. Electron 5.x.x
  2. node.js - windows 32-bit or macOS 64-bit

Installation

npm install zego-express-docsview-electron

Quick Start

Create a ZEGO account and get AppID and AppSign required for SDK initialization at ZEGO management console

// init sdk
const ZegoExpressDocs = window.require('zego-express-docsview-electron')
const zegoExpressDocs = new ZegoExpressDocs({
    appID,
    appSign, // Array
    dataFolder,
    cacheFolder,
    logFolder,
    isTestEnv
});
// create Docsview
let docView = zegoExpressDocs.createView(parentID);

Resources

  1. Doc Center - See more docs about zego-express-docsview-electron

ChangeLog

v1.23.0

Update:

  • In view of the problem that the source of onUpload event and onLoadFile event cannot be distinguished when the interface is called concurrently, the uploadFile and loadFile interfaces are reconstructed, and interface callbacks are added.

  • In response to the problem that dynamic PPT resources cannot be loaded in a weak network environment, a timeout retry mechanism has been added.

v1.22.0

  • When uploading the file, add check whether the file suffix name exists or not, and error code 2020009 will be thrown.
  • When uploading files, when the rendering mode type ZegoDocsViewRenderType does not meet the platform requirements, the error code 2010003 will be thrown in onError.

fix:

  • Fix the problem that the left and right keys of dynamic PPT file skip incorrectly.
  • Fix the problem that stopPlay can't stop the audio

Update:

v1.21.0

Add:

  • Added the thumbnail definition setting function, which supports setting the thumbnail definition.

Update:

  • Added file transcoding error code.

v1.20.0

Add:

  • Added support for H5 file type Upload H5 files through the uploadH5File interface.
  • Added the function of preloading dynamic PPT and H5 files. Through the cacheFile interface, dynamic PPT and H5 files can be preloaded and cached locally to improve the speed of loading and displaying files. Please contact ZEGO technical support to enable this function.

Update:

  • Optimize PDF empty file check.
  • Optimize the drawing of PDF file dividing line.
  • Optimize the display of the view hierarchy when multiple files are loaded at the same time.
  • Add the following error codes.

v1.19.0

Update:

  • Optimize dynamic PPT permission control

v1.17.0

fix:

  • fix fileName error
  • fix upload local file error

0.16.0

update:

  • update setConfig - DynamicPPTHD
  • Optimize the display clarity of static files on the HD screen
  • Automatically switch the backup CDN when file loading timeout or failure
  • Support HEIC format file upload

fix:

  • Solve the problem of incorrect rendering and filling mode of PDF files converted from PPT