
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@9am/img-tissue
Advanced tools
A web component animates an image with a minimization effect.
https://user-images.githubusercontent.com/1435457/169442632-62b8e967-6a4f-4c9f-a00f-c17cb436ad8f.mp4
Installation
npm install @9am/img-tissue
ESM
// HTML
<img-tissue src="/url.png"></img-tissue>
import { register } from '@9am/img-tissue'
register({})
or try it with skypack without installation
import { register } from 'https://cdn.skypack.dev/@9am/img-tissue'
register({})
Zoom
// js
const tissue = document.querySelector('img-tissue')
tissue.zoomIn({ clientX: 0, clientY: 0, duration: 300 })
tissue.zoomOut({ clientX: 0, clientY: 0, duration: 300 })
< img-tissue > attributes
| Name | Type | Default | Description |
|---|---|---|---|
src | {String} | Required | The image URL |
title | {String} | '' | For screen readers |
column | {Number} | 4 | Split area into {column} vertically |
row | {Number} | 4 | Split area into {row} horizontally |
< img-tissue > methods
| Name | Params | Type | Default | Description |
|---|---|---|---|---|
zoomIn({ clientX, clientY, duration }) | {Function} | ZoomIn the image to target position | ||
zoomOut({ clientX, clientY, duration }) | {Function} | ZoomOut the image to | ||
clientX | {Number} | Required | X position on the client viewport | |
clientY | {Number} | Required | Y position on the client viewport | |
duration | {Number} | Required | Duration of the animation(ms) |
register options
| Name | Type | Default | Description |
|---|---|---|---|
tagName | {String} | img-tissue | Change tag name of the web component |
Install dependencies
npm install
Start dev server
npm run dev
Put images under ./demo/img, replace image URL in index.html
Open localhost:3000 in the browser
TBD
FAQs
A web component animates an image with a minimization effect.
We found that @9am/img-tissue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.