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

prismjs-ris

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

prismjs-ris

A language definition for RIS in the PrismJS syntax-highlighting framework.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

PrismJS-RIS

npm package jsDelivr hits

A [RIS] language extension for [PrismJS].

Usage

In HTML

Simply import the prism-ris.min.js (recommended at the end of body):

<script src="https://cdn.jsdelivr.net/npm/prismjs-ris@1.0.2/prism-ris.min.js">
</script>

Remember to import the PrismJS stylesheets and scripts before importing this extension. For example:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-solarizedlight.min.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js">
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs-ris@1.0.2/prism-ris.min.js">
</script>

In NodeJS

  • Add the package to your project:

    $ npm install prismjs-ris
    
  • Import prismjs-ris your .js file, after Prism:

    import Prism from 'prismjs';
    import 'prismjs-ris';
    

Keywords

prismjs

FAQs

Package last updated on 30 Aug 2025

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