![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@arisbh/marqueeck
Advanced tools
Marqueeck is a custom marquee component for Sveltekit, speed-eased, style-free and without dependencies.
Features :
Install the module from npm
npm i @arisbh/marqueeck
or
pnpm i @arisbh/marqueeck
or
yarn i @arisbh/marqueeck
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
<script>
import Marqueeck from '@arisbh/marqueeck';
</script>
<Marqueeck> [Your element] </Marqueeck>
You can either pass your options directly in the <Marqueeck/>
component :
<script>
import Marqueeck from '@arisbh/marqueeck';
</script>
<Marqueeck options={{ speed: 75, direction: 'left' }} >
[Your element]
</Marqueeck>
or by constructing a MarqueeckOptions object, using provided Type :
<script lang="ts">
import Marqueeck from '@arisbh/marqueeck';
import type { MarqueeckOptions } from '@arisbh/marqueeck';
const options: MarqueeckOptions = {
speed: 75,
direction: 'left',
onHover: 'customSpeed',
hoverSpeed: 15,
gradualHoverDuration: 750
};
</script>
<Marqueeck {options}> [Your element] </Marqueeck>
You can using the reserved svelte:fragment
to place a sticky element inside the component.
<Marqueeck {options}>
[Your element]
<svelte:fragment slot="sticky"> [Sticky element] </svelte:fragment>
</Marqueeck>
Edit the placement of the sticky element with stickyPosition
inside options.
const options = {
speed: 50, // in px/sec
direction: 'left', // either 'left' or 'right'
gap: 20, // in px
paddingX_Wrapper: 20, // in px
paddingY_Wrapper: 16, // in px
debug: false,
onHover: 'customSpeed', // either 'none', 'stop' or 'customSpeed'
gradualHoverDuration: 1250, // in ms
hoverSpeed: 10, // in px/sec
stickyPosition: 'start' // either 'start' or 'end'
};
FAQs
Marqueeck is a performant full-featured marquee component for Svelte, style-free, highly customizable and dependency-less.
The npm package @arisbh/marqueeck receives a total of 0 weekly downloads. As such, @arisbh/marqueeck popularity was classified as not popular.
We found that @arisbh/marqueeck demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.