Socket
Socket
Sign inDemoInstall

lightbox-lib

Package Overview
Dependencies
1
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lightbox-lib

1. Via NPM:


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Install

  1. Via NPM:

Install NPM package - https://www.npmjs.com/package/lightbox-lib:

npm install lightbox-lib
  1. The other way, you also can inject lightbox-lib.js file into your HTML code:
<script src="/path/to/dist/lightbox-lib.js"></script>

Usages

svelte example

<script lang="ts">
  import { onMount } from "svelte";
  import lighbox from "lightbox-lib";

  onMount(() => {
    lighbox();
  });
</script>

Development

$ yarn install
$ yarn dev

Build

$ yarn build

or:

$ npm run build

The dist folder is automatically created and include file lightbox.min.js

Licence

[MIT]

Keywords

FAQs

Last updated on 20 Apr 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc