Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@oramacloud/plugin-docusaurus
Advanced tools
Orama Cloud Plugin to integrate indexes with Docusaurus, allowing you to index all your blogs, docs and pages.
A plugin to integrate Docusaurus with your Orama Cloud indexes.
This project requires NodeJS (version 18 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
9.6.7
v18.17.1
In order to use this plugin in your build process you will also need a Docusaurus index in Orama Cloud. To start using it you can create a free account at cloud.oramasearch.com. After creating your account you can create a new index and copy the index ID and Private API key provided in the index settings page.
BEFORE YOU INSTALL: please read the prerequisites
To install and set up the library, run:
$ npm install -S @oramacloud/plugin-docusaurus
Or if you prefer using Yarn:
$ yarn add @oramacloud/plugin-docusaurus
Or if you prefer using PNPM:
$ pnpm add @oramacloud/plugin-docusaurus
Add the plugin to your config file:
// docusaurus.config.js
{
plugins: ['@oramacloud/plugin-docusaurus']
}
After adding the plugin to your Docusaurus project you can run your build process adding the Orama Cloud env variables to it.
GitHub Actions example:
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
ORAMA_CLOUD_PRIVATE_API_KEY: <your_private_api_key>
ORAMA_CLOUD_INDEX_ID: <your_index_id>
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x' # 18.x or 20.x
- run: npm ci
- run: npm run build --if-present
- run: npm test
To understand better how to add env variables to your GH Actions workflow check the GitHub Actions variables docs
FAQs
Orama Cloud Plugin to integrate indexes with Docusaurus, allowing you to index all your blogs, docs and pages.
The npm package @oramacloud/plugin-docusaurus receives a total of 1 weekly downloads. As such, @oramacloud/plugin-docusaurus popularity was classified as not popular.
We found that @oramacloud/plugin-docusaurus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.