
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@onlyoffice/docspace-plugin-sdk
Advanced tools
ONLYOFFICE DocSpace Plugins SDK is an npm package based on TypeScript engines which provides interfaces to create your own plugins for embedding in the DocSpace portal.
To install the @onlyoffice/docspace-plugin-sdk npm package globally, run the following command in the terminal:
npm i -g @onlyoffice/docspace-plugin-sdk
After installing the npm package, the npx create-docspace-plugin command becomes available and allows you to create a plugin template with the pre-installed plugin types and the implementation of basic methods.
This command displays a dialog which allows you to configure the plugin settings and select the required scopes.
You can find a list of all the dialog questions here.
Code samples are available at https://github.com/ONLYOFFICE/docspace-plugins.
To build a plugin, you need the yarn package manager to be installed. After that, follow the instructions below:
cd PDF-Converter
yarn install
yarn build
This command generates the obfuscated code from the entire project and collects it into the plugin.js file using the webpack npm package. After that the plugin builder from the createZip.js file generates the config.json file from the package.json data and creates an archive that contains the assets folder, the plugin.js file, and the config.json file.
The dist folder will be created in the root plugin folder and the plugin archive will be placed in it. This archive is the completed plugin that can be uploaded to the DocSpace portal.
FAQs
Simple plugin system for onlyoffice docspace
The npm package @onlyoffice/docspace-plugin-sdk receives a total of 412 weekly downloads. As such, @onlyoffice/docspace-plugin-sdk popularity was classified as not popular.
We found that @onlyoffice/docspace-plugin-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.