JSPM

Found 128 results for direction

direction

Detect the direction of text: left-to-right, right-to-left, or neutral

  • v2.0.1
  • 93.81
  • Published

flexibility

A JavaScript polyfill for Flexbox

  • v2.0.1
  • 70.75
  • Published

react-cool-inview

React hook to monitor an element enters or leaves the viewport (or another element).

  • v3.0.1
  • 66.66
  • Published

string-direction

String Direction is a JavaScript library for detection of direction of `String` objects in JavaScript.

  • v0.1.2
  • 66.66
  • Published

@smakss/react-scroll-direction

Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes

  • v4.2.0
  • 60.75
  • Published

agm-direction

directive for agm (not official)

  • v0.8.10
  • 58.45
  • Published

svelte-inview

A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.

  • v4.0.4
  • 58.44
  • Published

use-scroll-direction

A simple, performant, and cross-browser hook for handling scroll in your next react app.

  • v1.1.4
  • 50.62
  • Published

tailwind-extended-shadows

TailwindCSS utility classes for fine-grain control over box-shadows, including layers.

  • v0.4.1
  • 48.68
  • Published

sass-direction

Sass mixins and functions to help creating bi-directional stylesheets.

  • v1.2.0
  • 44.97
  • Published

angles

The RAW function collection for working with angles

  • v0.5.1
  • 44.46
  • Published

rehype-dir

A rehype plugin to set text direction attributes

  • v1.0.0
  • 42.31
  • Published

swipe-detect

A touchevent swipe detection utility for JavaScript applications.

  • v1.0.1
  • 36.01
  • Published

cords

This is a package containing mathematical tools for moving in a coordination based space.

  • v1.0.4
  • 35.15
  • Published

is-clockwise

test if 2D convex polygon is clockwise

  • v2.0.2
  • 33.97
  • Published

@ng-maps/direction

[@ng-maps/direction](https://github.com/@ng-maps/direction) is the directive for [@ng-maps/core](https://github.com/ng-maps/ng-maps)

  • v0.1.0
  • 31.95
  • Published

storybook-addon-dir

A simple addon for storybook to swap between LTR and RTL

    • v1.0.6
    • 30.99
    • Published

    scroll-swipe

    a lightweight Events API for detecting scroll and touch events based on custom sensitivity

    • v0.0.19
    • 29.61
    • Published

    @phun-ky/angle

    A JavaScript function to calculate the angle between two coordinates

    • v1.0.31
    • 28.91
    • Published

    @phun-ky/cardinal

    A set of JavaScript functions that gives you the cardinal direction based on degrees

    • v2.0.16
    • 27.03
    • Published

    cordova-plugin-directions

    Cordova Directions Plugin to utilise native maps for satnav style direction purposes (using latitude and longitude or address).

    • v0.4.4
    • 26.45
    • Published

    @sass-collective/direction

    Manage content direction for languages right-to-left or left-to-right rules.

    • v4.0.1
    • 26.23
    • Published

    polygon-direction

    determine if a polygon is clockwise or counter-clockwise

    • v0.1.0
    • 26.10
    • Published

    geohashes-between

    Get a list of geohashes between two geohashes, or between two coordinates.

    • v2.3.0
    • 26.05
    • Published

    quovadis

    A small library to handle changes in scroll direction.

    • v1.7.0
    • 22.90
    • Published

    node-red-contrib-compass

    A Node-RED node to convert a degree to a compass point, or the other way around

    • v1.0.1
    • 22.67
    • Published

    flexboxes

    CSS functional flexbox framework

    • v0.9.0
    • 22.00
    • Published

    postcss-ltr-rtl-detect

    Detects properties in your css that influence LTR and RTL layouts

    • v1.5.1
    • 21.90
    • Published

    compare-by

    A versatile utility library for sorting arrays of objects by one or multiple keys with customizable sort directions.

    • v2.1.0
    • 21.50
    • Published

    iso-639-1-dir

    ESM of ISO-639-1 language codes, english names, native names and writing directions. TS-friendly.

    • v3.0.5
    • 21.08
    • Published

    react-native-qibla-finder

    A React Native component for finding and displaying the Qibla direction using device sensors. It provides a visual compass and Qibla direction indicators with real-time updates based on sensor data.

    • v1.1.2
    • 20.77
    • Published

    text-reveal

    A React text animation with a smooth color transition for each character while scrolling.

    • v2.1.2
    • 20.41
    • Published

    hilal

    First RTL responsive CSS framework

    • v0.5.0
    • 19.49
    • Published

    react-native-map-direction

    A simple react native package which can implement directions based on two geo-location

      • v0.0.4
      • 19.03
      • Published

      @jhubbardsf/svelte-inview

      A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.

      • v4.0.2
      • 16.75
      • Published

      react-native-directed-scrollview

      A natively implemented scrollview component which lets you specify different scroll directions for child content.

      • v2.0.0
      • 16.49
      • Published

      grid-neighbors-1d

      Get the 8 closest neighbors of a cell in a 2d grid when flattened to a 1d array

      • v2.1.0
      • 16.41
      • Published

      react-heading-2

      Get compass heading and inclination in React Native.

        • v1.0.4
        • 16.11
        • Published

        google-map-js

        Pass form latitude longititude and to latitude longitude to get the route for the two points with google api.

          • v1.0.10
          • 15.31
          • Published

          postcss-logical-polyfill

          A PostCSS plugin that provides physical property polyfills for CSS logical properties with intelligent direction-aware selector handling, block-direction optimization, and extended logical property support via shim system

          • v0.6.1
          • 15.10
          • Published

          angle-to-direction

          This package can convert angle to direction

          • v3.1.0
          • 14.74
          • Published

          zero-degree

          A module that constantly monitors and returns the direction angle of the target location as the phone rotates or moves. This is a React Native/Expo package.

          • v3.1.6
          • 14.24
          • Published

          direction-mixins

          A set of mixins and functions to handle values for both RTL and LTR layouts

          • v1.4.7
          • 14.00
          • Published

          less-plugin-auto-rtl

          Converts less to apply Rtl Rules when dir="rtl" is set in a parent element

          • v1.0.13
          • 13.92
          • Published

          react-keyboard-navigator

          A suite of React components and hook for selecting sibling components through the keyboard.

          • v0.1.3
          • 13.74
          • Published

          postcss-start-to-end

          PostCSS plugin that lets you control your layout (ltr or rtl) through logical rather than physical rules

          • v1.0.1
          • 13.39
          • Published

          @omnedia/ngx-scrollbar

          A simple component library to create a custom scrollbar for the Y-Direction.

          • v3.0.1
          • 12.94
          • Published

          @ryvora/react-direction

          🧭 Handle text direction (LTR/RTL) for internationalized React UIs. Your UI's compass!

          • v2.0.0
          • 12.54
          • Published

          hover-dir

          Vanilla JS directional aware hover effect

          • v1.0.1
          • 12.18
          • Published

          on-swipe

          Adds a swipe event to the DOM that reports direction, velocity, distance, and duration on touch devices

          • v1.0.9
          • 12.10
          • Published

          react-native-touchable-view

          你可以依赖这个TouchableView的长按,滑动,X轴滑动,Y轴滑动,长按后滑动等手势响应得到回调和一系列参数(如相对父组件x、y坐标,相对页面x、y坐标,x轴位移、y轴位移)处理你的业务(如手势动画)。

          • v1.2.5
          • 11.90
          • Published

          react-native-qibla-finder-1

          A React Native component for finding and displaying the Qibla direction using device sensors. It provides a visual compass and Qibla direction indicators with real-time updates based on sensor data.

            • v1.0.5
            • 11.90
            • Published

            wind-compass

            Convert wind directions (in degrees) to compass points with short/long formats and internationalization for localized names.

            • v0.0.9
            • 11.64
            • Published

            css-direction

            Css module of single purpose classes for direction

            • v1.0.7
            • 11.64
            • Published

            @poeticode/scroll-swipe

            a lightweight Events API for detecting scroll and touch events based on custom sensitivity

            • v0.1.2
            • 10.28
            • Published

            @vue-spark/router-plugins

            Lightweight Vue Router 4 plugin collection - extend routing capabilities with minimal overhead.

            • v1.0.0
            • 10.09
            • Published

            jspowell

            Interface to Powell's method compatible with Cory McCartan's jsga.

            • v1.0.1
            • 10.09
            • Published

            steerjs

            Script that trigger functions only when the user changes the scroll direction

            • v2.1.1
            • 9.95
            • Published

            svelte-5-inview

            A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood. Forked from maciekgrzybek to support Svelte 5 after no merge of fixes.

            • v1.0.0
            • 9.70
            • Published

            curtsy

            Determine the direction of gestures for Leapjs.

            • v0.0.1
            • 9.35
            • Published

            direction-detection

            Detect when a particular input stream reverses direction

            • v1.0.2
            • 9.30
            • Published

            nearly-react

            A light and powerful data flow with React

            • v1.9.3
            • 8.57
            • Published

            scroll-interactions

            Easy scroll-driven interactions in the browser built on top of IntersectionObserver

            • v0.8.1
            • 8.57
            • Published

            read-lines-riched

            Easy way to read file lines on two directions: from the beginning to the end and from the end to the beginning.

            • v0.2.5
            • 8.25
            • Published

            cube-face-vector

            gets a unit vector for a given cubemap face

            • v1.0.0
            • 7.79
            • Published

            yo-marquee

            YoMarquee is an easy-to-use, customizable, and lightweight JavaScript library for creating marquee effects.

              • v1.0.9
              • 7.66
              • Published

              next-direction

              A Next.js package, that makes working with directions a breeze. - No flash on load (both SSR and SSG) - Sync direction across tabs and windows - Disable flashing when refreshing pages - Force pages to a specific direction

              • v1.0.2
              • 7.26
              • Published

              grax-react

              A light and powerful data flow with React

              • v1.9.4
              • 6.79
              • Published

              degrees-to-compass

              it converts wind direction or any degree to a direction equivalent

              • v1.0.2
              • 6.72
              • Published

              gpe

              Automate picture element generation

              • v0.6.0
              • 6.54
              • Published

              cube-face-name

              gets a name like "px" or "pz" for a cube map face

              • v1.0.0
              • 5.70
              • Published

              zy-react-native-directed-scrollview

              A natively implemented scrollview component which lets you specify different scroll directions for child content.

              • v1.3.9
              • 5.45
              • Published

              quick-normal-map

              Quickly generates a normal map based on a 2D heightmap

              • v0.0.0
              • 5.45
              • Published

              styled-system-dir

              Provides a function to add direction (RTL/LTR) aware css props to your component

                • v0.0.3
                • 4.24
                • Published

                postcss-outset-direction-override

                plugin to override direction and flip css properties of styles from ltr/rtl and reverse in a simple overriding way

                • v1.0.0
                • 4.24
                • Published

                scroll-horizontal

                scroll-horizontal is a lightweight vanilla script that enables you to change the default scroll direction either for a single section or for a whole page

                • v1.0.8
                • 4.19
                • Published

                vue-direction

                Direction aware hover in Vue.js

                  • v0.1.2
                  • 4.18
                  • Published

                  grid-coordinates

                  Calculate X, Y coordinates from cell position and grid width.

                  • v1.0.1
                  • 4.18
                  • Published

                  javascriptgeodesylibrary

                  Geodesy library for JavaScript - look at https://sites.google.com/site/javascriptgeodesylibrary

                  • v1.0.4
                  • 2.48
                  • Published

                  hiv

                  a tool use to judge direction

                    • v1.0.0
                    • 2.45
                    • Published

                    @n0n3br/react-use-scroll-direction

                    A robust React hook to detect vertical scroll direction ('up', 'down', 'static') for any DOM element or the window.

                    • v0.1.3
                    • 2.44
                    • Published

                    wheel-direction

                    * [username/projectname](https://github.com/username/projectname) * [projectname](https://www.npmjs.com/package/projectname)

                    • v1.0.4
                    • 2.44
                    • Published

                    styled-system-direction

                    Provides a function to add direction (RTL/LTR) aware css props to your component

                    • v1.0.5
                    • 0.00
                    • Published

                    @utilityjs/vector

                    An implementation of a two or three-dimensional Vector.

                    • v1.0.0
                    • 0.00
                    • Published

                    rehype-github-dir

                    rehype plugin to add `dir=auto` to elements

                    • v1.0.0
                    • 0.00
                    • Published

                    react-extended-maps

                    Opinionated, customizable Google Maps-layered React components.

                    • v0.1.7
                    • 0.00
                    • Published

                    @xy-direction/styled

                    Minimalistic and efficient flexbox layout components for React

                    • v0.0.5
                    • 0.00
                    • Published