UNPKG

@akemona-org/strapi

Version:

An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MongoDB, MySQL, MariaDB, PostgreSQL, SQLite

8 lines (6 loc) 231 B
'use strict'; module.exports = (prefix, pkgJSON) => { return Object.keys(pkgJSON.dependencies) .filter((d) => d.startsWith(prefix) && d.length > prefix.length) .map((pkgName) => pkgName.substring(prefix.length + 1)); };