strapi-ulid

0.1.3 • Public • Published

Strapi Plugin - ULID

Tests MIT License

This plugin adds support for ULID field type to Strapi as a Custom field. The field will be automatically generated when creating a new entry.

This plugin is inspired and based on strapi-auto-uuid by Cringe Studio. All credits go to them.

🚀 Getting Started

  1. Install the plugin by running:

    npm install strapi-ulid
  2. Rebuild admin panel:

    npm run build

📝 Usage

Add the custom field from the admin panel: screenshot

or

Add the following to your content-type schema:

{
  // ....
  attributes: {
    // ....
    ulid: {
      type: "customField",
      customField: "plugin::field-ulid.ulid",
    },
    // ....
  },
  // ....
}

📝 License

This project is licensed under the MIT License - see the LICENSE file for details

Package Sidebar

Install

npm i strapi-ulid

Weekly Downloads

50

Version

0.1.3

License

MIT

Unpacked Size

142 kB

Total Files

42

Last publish

Collaborators

  • soranoo