strapi-plugin-random-sort

0.0.3 • Public • Published

Strapi plugin random-sort

Simple plugin to randomly sort the data of a request.

Installation

npm install strapi-plugin-random-sort

or

yarn add strapi-plugin-random-sort

Config

  'random-sort': {
    enabled: true,
  },

Usage

Add a ?randomSort=true as a query parameter

Example

http://localhost:1337/api/blogs?populate=*&randomSort=true

⭐️Did you find this helpful?

If you found this plugin helpful give it a star?

/strapi-plugin-random-sort/

    Package Sidebar

    Install

    npm i strapi-plugin-random-sort

    Weekly Downloads

    120

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    11

    Last publish

    Collaborators

    • cpaczek