JSPM

Found 132 results for direction

direction

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

  • v2.0.1
  • 93.35
  • Published

flexibility

A JavaScript polyfill for Flexbox

  • v2.0.1
  • 70.56
  • Published

string-direction

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

  • v0.1.2
  • 68.10
  • Published

react-cool-inview

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

  • v3.0.1
  • 66.00
  • 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.59
  • 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
  • 57.85
  • Published

agm-direction

directive for agm (not official)

  • v0.8.10
  • 57.08
  • Published

angles

The RAW function collection for working with angles

  • v0.5.1
  • 53.00
  • Published

use-scroll-direction

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

  • v1.1.4
  • 51.64
  • Published

tailwind-extended-shadows

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

  • v0.4.1
  • 49.00
  • Published

sass-direction

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

  • v1.2.0
  • 45.61
  • Published

rehype-dir

A rehype plugin to set text direction attributes

  • v1.0.0
  • 38.70
  • Published

cords

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

  • v1.0.4
  • 38.35
  • 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
  • 37.41
  • Published

swipe-detect

A touchevent swipe detection utility for JavaScript applications.

  • v1.0.1
  • 37.17
  • Published

is-clockwise

test if 2D convex polygon is clockwise

  • v2.0.2
  • 35.54
  • Published

react-keyboard-navigator

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

  • v0.1.3
  • 34.62
  • Published

@phun-ky/angle

A JavaScript function to calculate the angle between two coordinates

  • v1.0.39
  • 33.64
  • Published

@phun-ky/cardinal

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

  • v2.0.24
  • 32.93
  • Published

subsequelement

A library for finding the nearest/farthest Element to another Element in a document

  • v1.2.0
  • 32.70
  • 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
  • 32.16
  • Published

scroll-swipe

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

  • v0.0.19
  • 30.91
  • Published

postcss-ltr-rtl-detect

Detects properties in your css that influence LTR and RTL layouts

  • v1.5.1
  • 30.82
  • Published

@sass-collective/direction

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

  • v4.0.1
  • 30.79
  • Published

@masaajid/qibla

Comprehensive TypeScript qibla direction calculation library with precise geodetic algorithms

  • v1.0.0
  • 29.88
  • Published

storybook-addon-dir

A simple addon for storybook to swap between LTR and RTL

    • v1.0.6
    • 29.08
    • Published

    geohashes-between

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

    • v2.3.0
    • 28.16
    • Published

    polygon-direction

    determine if a polygon is clockwise or counter-clockwise

    • v0.1.0
    • 25.94
    • Published

    iso-639-1-dir

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

    • v3.0.5
    • 25.04
    • 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
    • 25.00
    • Published

    @vue-spark/router-plugins

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

    • v1.1.0
    • 24.33
    • Published

    compare-by

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

    • v2.1.0
    • 23.94
    • Published

    quovadis

    A small library to handle changes in scroll direction.

    • v1.7.0
    • 23.25
    • Published

    flexboxes

    CSS functional flexbox framework

    • v0.9.0
    • 23.24
    • Published

    hilal

    First RTL responsive CSS framework

    • v0.5.0
    • 23.08
    • Published

    dir-detect

    A tiny and simple package for detecting the direction of a locale.

    • v1.0.0
    • 22.76
    • 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
      • 22.63
      • Published

      less-plugin-auto-rtl

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

      • v1.0.13
      • 21.13
      • Published

      on-swipe

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

      • v1.0.9
      • 21.07
      • 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
      • 21.00
      • 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
      • 20.77
      • Published

      @omnedia/ngx-scrollbar

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

      • v3.0.1
      • 20.70
      • Published

      hover-dir

      Vanilla JS directional aware hover effect

      • v1.0.1
      • 20.43
      • 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
      • 20.27
      • 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
      • 19.85
      • Published

      react-native-touchable-view

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

      • v1.2.5
      • 19.85
      • 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
      • 19.57
      • Published

      text-reveal

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

      • v2.1.2
      • 18.41
      • Published

      react-native-directed-scrollview

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

      • v2.0.0
      • 18.00
      • Published

      angle-to-direction

      This package can convert angle to direction

      • v3.1.0
      • 17.57
      • Published

      @poeticode/scroll-swipe

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

      • v0.1.2
      • 17.05
      • Published

      wind-compass

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

      • v0.0.9
      • 16.51
      • 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
        • 15.54
        • Published

        curtsy

        Determine the direction of gestures for Leapjs.

        • v0.0.1
        • 15.28
        • Published

        @xy-direction/styled

        Minimalistic and efficient flexbox layout components for React

        • v0.0.5
        • 14.80
        • Published

        react-heading-2

        Get compass heading and inclination in React Native.

          • v1.0.4
          • 14.69
          • 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
          • 14.69
          • Published

          direction-detection

          Detect when a particular input stream reverses direction

          • v1.0.2
          • 14.67
          • 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
          • 14.39
          • Published

          cube-face-name

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

          • v1.0.0
          • 14.09
          • Published

          direction-mixins

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

          • v1.4.7
          • 13.75
          • 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
          • 13.31
          • 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
          • 13.24
          • Published

          jspowell

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

          • v1.0.1
          • 12.63
          • Published

          degrees-to-compass

          it converts wind direction or any degree to a direction equivalent

          • v1.0.2
          • 11.79
          • Published

          scroll-interactions

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

          • v0.8.1
          • 10.96
          • 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
          • 10.85
          • Published

          cube-face-vector

          gets a unit vector for a given cubemap face

          • v1.0.0
          • 10.67
          • Published

          zy-react-native-directed-scrollview

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

          • v1.3.9
          • 10.08
          • Published

          quick-normal-map

          Quickly generates a normal map based on a 2D heightmap

          • v0.0.0
          • 9.52
          • Published

          steerjs

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

          • v2.1.1
          • 9.20
          • Published

          grid-coordinates

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

          • v1.0.1
          • 8.96
          • Published

          gpe

          Automate picture element generation

          • v0.6.0
          • 8.89
          • Published

          css-direction

          Css module of single purpose classes for direction

          • v1.0.7
          • 8.67
          • Published

          yo-marquee

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

            • v1.0.9
            • 8.40
            • Published

            wheel-direction

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

            • v1.0.4
            • 8.26
            • Published

            hiv

            a tool use to judge direction

              • v1.0.0
              • 8.17
              • Published

              react-native-map-direction

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

                • v0.0.4
                • 7.59
                • Published

                rehype-github-dir

                rehype plugin to add `dir=auto` to elements

                • v1.0.0
                • 6.87
                • Published

                vue-direction

                Direction aware hover in Vue.js

                  • v0.1.2
                  • 6.54
                  • Published

                  styled-system-direction

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

                  • v1.0.5
                  • 6.54
                  • Published

                  grax-react

                  A light and powerful data flow with React

                  • v1.9.4
                  • 5.61
                  • Published

                  nearly-react

                  A light and powerful data flow with React

                  • v1.9.3
                  • 5.61
                  • Published

                  javascriptgeodesylibrary

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

                  • v1.0.4
                  • 5.55
                  • 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
                  • 5.46
                  • Published

                  @ryvora/react-direction

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

                  • v2.0.0
                  • 5.46
                  • 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
                  • 5.40
                  • Published

                  styled-system-dir

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

                    • v0.0.3
                    • 2.46
                    • Published

                    @utilityjs/vector

                    An implementation of a two or three-dimensional Vector.

                    • v1.0.0
                    • 2.41
                    • Published

                    react-extended-maps

                    Opinionated, customizable Google Maps-layered React components.

                    • v0.1.7
                    • 2.39
                    • Published

                    @pras-ui/direction

                    This package is a simple utility to provide and consume text direction (`ltr` or `rtl`) throughout your React application.

                    • v0.0.1
                    • 0.00
                    • Published