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

@slidy/plugins

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slidy/plugins

Simple plugins functions for @slidy/core

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

npm version npm bundle size npm downloads github issues npm license

@slidy/plugins

Plugins functions for @slidy/core script.

Try the DEMO

Getting started 🚀

The package is available via NPM:

npm i -D @slidy/plugins

or from CDN:

<script src="https://unpkg.com/@slidy/plugins"></script>

Usage

Plugin functions available via named import as MJS/CJS module or via global Window.Slidy object props as IIFE.

export type PluginArgs = {
    node: HTMLElement,
    options: Options,
    instance: SlidyInstance
}

type PluginFunc = (args: PluginArgs) => void;

MJS/CJS module import

<head>
   <script type="module">
        import * as plugins from 'https://unpkg.com/@slidy/plugins/dist/index.mjs'; // MJS module
        // OR
        import * as plugins from 'https://unpkg.com/@slidy/plugins/dist/index.cjs'; // CJS module
    </script>
</head>

IIFE as Window Object

<head>
    <script src="https://unpkg.com/@slidy/plugins/dist/index.js"></script>
</head>

<script>
    window.onload = () => marquee = SlidyPlugins.marquee()
</script>

As third party module in any frameworks

<!-- Svelte -->

<script>
    import { marquee } from '@slidy/plugins';

    <Slidy plugins={[marquee]} />
</script>

MIT © Valexr

Keywords

Slidy

FAQs

Package last updated on 13 Jan 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