🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@twreporter/scrollable-image-ui

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/scrollable-image-ui

![npm (latest)](https://img.shields.io/npm/v/@twreporter/scrollable-image-ui/latest) ![npm (rc)](https://img.shields.io/npm/v/@twreporter/scrollable-image-ui/rc)

latest
npmnpm
Version
1.1.4
Version published
Maintainers
4
Created
Source

scrollable-image-ui

npm (latest) npm (rc)

What is this

An interface used for generating scrollable image embedded code.

How to use this

Install

yarn add @twreporter/scrollable-image-ui

or you can use npm:

npm install --save @twreporter/scrollable-image-ui

Example

  • Serve the distribution files by Google Cloud Function
const express = require('express')
const path = require('path')

const app = express()

app.use(
  express.static(
    path.join(__dirname, 'node_modules/@twreporter/scrollable-image-ui/dist')
  )
)

app.get('/', (req, res) => {
  res.status(200).sendFile(path.join(__dirname, '/index.html'))
})

How to develop this

# Run development server
make dev

How to build this

# Babel transpile es6 and above to es5 at lib/
# Build webpack bundle and index.html to dist/
make build

FAQs

Package last updated on 27 Apr 2023

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