npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@plugins_sfx/directus-extension-scaleflex-dam

v1.0.2

Published

Scaleflex DAM (Filerobot) is a scalable and performance-oriented Digital Asset Management platform with integrated image and video optimizers to store, organize, optimize and deliver your media assets such as images, videos, PDFs and many other brand asse

Readme

Scaleflex DAM

Installation

Prerequisites

  • Register for a demo if you don't already have a Scaleflex DAM account.
  • Need to add a config CONTENT SECURITY POLICY to your .env file
# Dot version
CONTENT_SECURITY_POLICY_USE_DEFAULTS: true
CONTENT_SECURITY_POLICY_DIRECTIVES__SCRIPT_SRC: "'self','unsafe-eval',*.scaleflex.com,cdn.tiny.cloud"
CONTENT_SECURITY_POLICY_DIRECTIVES__IMG_SRC: "'self',data:,blob:,https://raw.githubusercontent.com,https://avatars.githubusercontent.com,*.filerobot.com,*.tinymce.com"
CONTENT_SECURITY_POLICY_DIRECTIVES__MEDIA_SRC: "'self', *.filerobot.com"

Step 1: Install the extension

Step 2: Active the Scaleflex DAM extension

Click on "Settings" on the left menu and after that click "Extensions" on the sub-menu.

Step 3: Show the extension on the left menu

Click "Settings" on the left menu and then click "Settings" on the sub-menu. Scroll to block Modules and check two items "Scaleflex DAM Settings" and "Scaleflex DAM"

Step 4: Fill in your configuration

  • Token: Enter your Scaleflex DAM token here (eg: abcdefgh).
  • Security Template: To load the Scaleflex DAM Widget, you must create a Security Template in your Scaleflex DAM Hub.
  • Root directory: The directory in your Scaleflex DAM account, where the files will be stored.

Advanced Configuration

  • Limit: The maximum number of files that can be added to a single field, default: 0 (unlimited).
  • Attributes: Attribute from Scaleflex DAM asset that you want to include in Client response.
  • Limit Type: File types are limited when using Widget.
  • TinyMCE Key: API key required for TinyMCE when using it with DAM, Here’s a guide on how to get the key: How to get tinymce cloud up in less than 5 minutes

How to use Scaleflex DAM field?

1/ Create a new field "Scaleflex DAM"

2/ Select your display type On the list fields, select the new field just created. On the tab "Display", choose "DAM Assets".

3/ Go to your content Model and you will see the new field just created. Click on "Browse Assets" to select the assets in Scaleflex DAM

The result displayed after adding the assets

You can modify the image by clicking on "Show variants" to resize or crop the image.

In the list of items

Advanced Configuration Display

You can set the limit asset showing in the list of items. In the Field Settings, click on the tab "Display" and choose DAM Assets. Input the limit items you want to show in the list.

And the last thing, you can configure your variants asset in the tab "Interface". For example:

{
    "variants": [
        {
            "code": "desktop",
            "name": "Desktop",
            "preset": {
                "width": "200",
                "height": "400"
            }
        },
        {
            "code": "tablet",
            "name": "Tablet",
            "preset": {
                "width": "100",
                "height": "200"
            }
        }
    ]
}

Using TinyMCE Editor with Scaleflex DAM

1/ Create a new field "WYSIWYG with Scaleflex DAM"

2/ Using the editor, click on the button "DAM" to add the asset to your content. Support image, video, and audio.