New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fslightbox

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fslightbox - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

.idea/composerJson.xml

63

package.json
{
"name": "fslightbox",
"version": "2.0.1",
"description": "Fullscreen Lightbox is vanilla JS plugin for displaying images and videos in clean overlaying box.",
"version": "3.0.0",
"description": "Modern and easy plugin for displaying images and videos in clean overlaying box.\nDisplay single source or create beautiful gallery with powerful lightbox.",
"main": "index.js",
"dist-tags": {
"latest": "2.0.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest",
"production": "webpack --mode production --config webpack-prod.config.js --display-modules && gulp production",
"watch": "webpack --mode development --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/piotrzdziarski/fslightbox"
"url": "git+https://github.com/banthagroup/fslightbox"
},
"author": "",
"author": "banthagroup",
"license": "MIT",
"bugs": {
"url": "https://github.com/piotrzdziarski/fslightbox/issues"
"url": "https://github.com/banthagroup/fslightbox/issues"
},
"homepage": "https://fslightbox.com",
"keywords": [
"lightbox",
"javascript lightbox",
"vanilla js lightbox",
"fullscreen lightbox",
"fslightbox",
"media player",
"no jQuery"
]
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/demo/",
"/dist/"
],
"collectCoverage": false
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.4",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"babel-polyfill": "^6.26.0",
"browser-sync": "^2.26.7",
"copy-webpack-plugin": "^5.0.3",
"core-js": "^3.0.1",
"css-loader": "^2.1.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.2.0",
"gulp-rename": "^1.4.0",
"gulp-sass": "^4.0.2",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.7.1",
"node-sass": "^4.12.0",
"prop-types": "^15.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.1.1",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"webpack-dev-server": "^3.3.1"
}
}
# Fullscreen Lightbox Basic
## Version - 2.0.1
## Description
Fullscreen Lightbox is vanilla JS plugin for displaying images and videos in clean overlaying box.
Modern and easy plugin for displaying images and videos in clean overlaying box.
Display single source or create beautiful gallery with powerful lightbox.
Website: https://fslightbox.com
Open source project.
Technologies:
- JavaScript
- SCSS
### No jQuery and other dependencies.
## Basic usage
### Installation
```
npm install --save-dev fslightbox
```
### Example
In your application .js file:
```javascript
require('fslightbox');
```
In HTML file
```html
<a data-fslightbox="gallery" href="https://i.imgur.com/fsyrScY.jpg">
Open first slide (image)
</a>
<a data-fslightbox="gallery" href="https://www.youtube.com/watch?v=xshEZzpS4CQ">
Open second slide (YouTube)
</a>
<a data-fslightbox="gallery" href="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4">
Open third slide (HTML video)
</a>
<a data-fslightbox="gallery" href="#vimeo">
Open fourth slide (custom source)
</a>
<iframe id="vimeo" src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px"
frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />
<script src="fslightbox.js"></script>
```
## Demo

@@ -20,2 +51,13 @@ Available at: https://fslightbox.com/javascript

## Documentation
Available at: https://fslightbox.com/javascript/documentation
Available at: https://fslightbox.com/javascript/documentation/basic
## Browser Compatibility
| Browser | Works? |
| --- | --- |
| Chrome | Yes |
| Firefox | Yes |
| Opera | Yes |
| Safari | Yes |
| Edge | Yes |
| IE 11 | Yes |
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc