Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strapi-plugin-string-array

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-plugin-string-array

Adds support for arrays of string as field types.

  • 1.2.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
20
decreased by-66.67%
Maintainers
7
Weekly downloads
 
Created
Source

Strapi string array plugin

This Strapi plugin adds a new field type to store an array of strings.

Installation

npm install strapi-plugin-string-array

# OR

yarn add strapi-plugin-string-array

Setup and configuration

This plugin adds a custom field type to your Strapi setup.

When adding a new field to a content type, select String Array from the list of available field types in the "Custom" tab.

You'll be able to specify the separator to use when inputing data in the Strapi admin panel. If none is specified, a comma is used by default.

Usage

Once created, can be used like a regular text field. However, you can use the above defined separator to separate multiple values within the field. The data is stored as a string (for db engine compatibility) and is automatically converted to an array when served through the REST API.

FAQs

Package last updated on 07 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc