5.41.3 • Published 3 days ago

@webiny/plugins v5.41.3

Weekly downloads
376
License
MIT
Repository
github
Last release
3 days ago

@webiny/plugins

npm.io npm.io code style: prettier PRs Welcome

A simple registry that stores all plugins in a shared object. The only requirement for a plugin is to have a name and a type properties. The rest is entirely up to you.

There is nothing spectacular going on under the hood, just a simple object for storing references and a few utility functions.

For more information, please visit the official docs.

Install

npm install --save @webiny/plugins

Or if you prefer yarn:

yarn add @webiny/plugins

Usage

Adding a plugin

import { plugins } from "@webiny/plugins";

// Add a plugin
plugins.register({
    name: "my-plugin",
    type: "say-hi",
    salute: () => "Hi!"
});

plugins.register({
    name: "my-second-plugin",
    type: "say-hi",
    salute: () => "Yo!"
});

Getting plugins by type

// anywhere in your app
import { plugins } from "@webiny/plugins";

const pluginList = plugins.byType("say-hi");
pluginList.forEach(plugin => {
    // Call "salute" function
    plugin.salute();
});

Getting a single plugin by name

// anywhere in your app
import { plugins } from "@webiny/plugins";

const plugin = plugins.byName("my-plugin");
// Call "salute" function
plugin.salute();

Removing a plugin

// anywhere in your app
import { plugins } from "@webiny/plugins";

plugins.unregister("my-plugin");
@infinitebrahmanuniverse/nolb-_webi@everything-registry/sub-chunk-1008page-builder-zhang-test@webiny/api@webiny/ui-composer@webiny/react-router@webiny/tasks@webiny/api-file-manager-s3@webiny/api-form-builder@webiny/api-file-manager@webiny/api-file-manager-ddb@webiny/api-background-tasks-ddb@webiny/api-background-tasks-es@webiny/api-background-tasks-os@webiny/api-apw-scheduler-so-ddb@webiny/api-elasticsearch@webiny/api-apw@webiny/app@webiny/app-aco@webiny/app-admin@webiny/app-admin-auth0@webiny/app-admin-cognito@webiny/app-admin-core@webiny/app-admin-okta@webiny/app-admin-rmwc@webiny/app-admin-users-cognito@webiny/app-apw@webiny/app-audit-logs@webiny/app-file-manager@webiny/app-graphql-playground@webiny/app-headless-cms@webiny/app-headless-cms-common@webiny/app-i18n@webiny/app-i18n-content@webiny/app-mailchimp@webiny/api-upgrade@webiny/api-websockets@webiny/api-security-tenancy@webiny/app-form-builder@webiny/app-forms@webiny/app-serverless-cms@webiny/app-template@webiny/app-tenancy@webiny/app-theme@webiny/handler@webiny/handler-apollo-gateway@webiny/handler-apollo-server@webiny/handler-aws@webiny/handler-client@webiny/serverless-cms-aws@webiny/app-page-builder@webiny/app-page-builder-theme@webiny/app-plugin-admin-welcome-screen@webiny/app-website@webiny/app-theme-manager@webiny/app-security-access-management@webiny/app-security-admin-users@webiny/app-security-admin-users-cognito@webiny/app-security-cognito-authentication@webiny/app-security-tenancy@webiny/cli-plugin-deploy-pulumi@webiny/http-handler@webiny/app-plugin-security-cognito@webiny/app-plugin-security-cognito-theme@webiny/app-security@webiny/handler-graphql@webiny/db-dynamodb@webiny/graphql@webiny/cli-plugin-scaffold-ci@webiny/api-form-builder-so-ddb@webiny/api-form-builder-so-ddb-es@webiny/api-headless-cms@webiny/api-i18n@webiny/api-headless-cms-ddb-es@webiny/api-headless-cms-import-export@webiny/api-mailer@webiny/api-page-builder@webiny/api-page-builder-so-ddb-es@webiny/api-record-locking@webiny/api-security@webiny/api-security-admin-users@webiny/api-prerendering-service
5.41.4-beta.5

3 days ago

5.41.4-beta.4

6 days ago

5.41.4-beta.3

7 days ago

5.41.4-beta.2

10 days ago

5.40.7-beta.0

27 days ago

5.41.2-beta.1

28 days ago

5.40.7

26 days ago

5.41.2

27 days ago

5.41.3

26 days ago

5.41.3-beta.0

27 days ago

5.41.3-beta.1

26 days ago

5.41.3-beta.2

26 days ago

5.41.4-beta.1

24 days ago

5.41.2-beta.0

1 month ago

5.41.1-beta.4

2 months ago

5.41.1

2 months ago

5.41.1-beta.3

2 months ago

5.41.1-beta.2

2 months ago

5.41.1-beta.1

2 months ago

5.41.1-beta.0

2 months ago

5.41.0-beta.3

2 months ago

5.41.0

2 months ago

5.41.0-beta.2

2 months ago

5.41.0-beta.1

2 months ago

5.41.0-beta.0

2 months ago

5.40.6-beta.2

3 months ago

5.40.6-beta.3

3 months ago

5.40.6

3 months ago

5.40.6-beta.0

3 months ago

5.40.6-beta.1

3 months ago

5.39.12-beta.2

3 months ago

5.39.12-beta.1

3 months ago

5.39.12-beta.0

3 months ago

5.39.11

4 months ago

5.39.13

3 months ago

5.39.12

3 months ago

5.39.15

3 months ago

5.39.14

3 months ago

5.39.13-beta.0

3 months ago

5.41.0-dbt.0

3 months ago

5.39.14-beta.0

3 months ago

5.39.15-beta.0

3 months ago

5.39.10

4 months ago

5.40.5

4 months ago

5.40.5-beta.0

4 months ago

5.39.11-beta.0

4 months ago

5.39.11-beta.1

4 months ago

5.39.10-beta.2

4 months ago

5.39.10-beta.1

4 months ago

5.39.10-beta.0

4 months ago

5.39.9

5 months ago

5.39.9-beta.1

5 months ago

5.40.4

5 months ago

5.40.4-beta.1

5 months ago

5.40.4-beta.2

5 months ago

5.40.3

5 months ago

5.40.4-beta.0

5 months ago

5.40.3-beta.0

5 months ago

5.40.3-beta.1

5 months ago

5.40.2-beta.0

5 months ago

5.40.2-beta.1

5 months ago

6.0.0-beta.0

6 months ago

5.40.1

6 months ago

5.40.2

5 months ago

5.40.0

6 months ago

5.39.8

6 months ago

5.39.9-beta.0

6 months ago

5.40.0-beta.6

6 months ago

5.40.1-beta.1

6 months ago

5.40.1-beta.2

6 months ago

5.40.1-beta.0

6 months ago

5.39.8-beta.0

6 months ago

5.39.7

6 months ago

5.39.7-beta.5

6 months ago

5.39.7-beta.4

6 months ago

5.39.7-beta.2

7 months ago

5.39.7-beta.3

7 months ago

5.40.0-beta.5

7 months ago

5.40.0-beta.4

7 months ago

5.40.0-beta.3

7 months ago

5.39.7-beta.1

7 months ago

5.39.7-beta.0

7 months ago

5.39.6-beta.1

8 months ago

5.39.6-beta.0

8 months ago

5.39.6

8 months ago

5.39.5-beta.1

8 months ago

5.39.5

8 months ago

5.40.0-beta.2

8 months ago

5.40.0-beta.1

8 months ago

5.39.4

8 months ago

5.39.4-beta.1

9 months ago

5.40.0-beta.0

9 months ago

5.39.4-beta.0

9 months ago

5.39.3

10 months ago

5.39.3-beta.0

10 months ago

5.39.3-beta.1

10 months ago

5.39.2

10 months ago

5.39.2-beta.2

10 months ago

5.39.2-beta.3

10 months ago

5.39.2-beta.1

10 months ago

5.39.2-beta.0

10 months ago

5.38.6

10 months ago

5.39.1-beta.1

10 months ago

5.39.1

10 months ago

5.39.1-beta.0

11 months ago

5.39.0-beta.2

11 months ago

5.39.0-beta.3

11 months ago

5.39.0

11 months ago

5.38.5-beta.0

11 months ago

5.38.5

11 months ago

5.38.4

11 months ago

5.38.4-beta.0

11 months ago

5.38.3-beta.1

12 months ago

5.38.3

12 months ago

5.38.3-beta.0

12 months ago

5.38.2

1 year ago

5.38.2-beta.0

1 year ago

5.37.5-beta.0

1 year ago

5.37.5-beta.1

1 year ago

5.39.0-beta.0

1 year ago

5.39.0-beta.1

1 year ago

5.37.3-beta.0

1 year ago

5.37.6-beta.0

1 year ago

5.37.3-beta.1

1 year ago

5.37.6-beta.1

1 year ago

5.37.3-beta.2

1 year ago

5.34.9-beta.0

1 year ago

5.37.2-beta.3

1 year ago

5.37.2-beta.2

1 year ago

5.38.0-beta.0

1 year ago

5.37.2-beta.1

1 year ago

5.37.2-beta.0

1 year ago

5.37.8-beta.0

1 year ago

5.37.7-beta.0

1 year ago

5.38.0-beta.5

1 year ago

5.38.0-beta.6

1 year ago

5.38.0-beta.3

1 year ago

5.38.0-beta.4

1 year ago

5.38.0-beta.1

1 year ago

5.38.0-beta.2

1 year ago

5.38.1-beta.0

1 year ago

5.37.1-beta.3

1 year ago

5.37.1-beta.1

1 year ago

5.37.1-beta.2

1 year ago

5.37.1-beta.0

1 year ago

5.37.4-beta.1

1 year ago

5.37.4-beta.0

1 year ago

5.37.0-beta.3

1 year ago

5.37.0-beta.2

1 year ago

5.37.0-beta.1

1 year ago

5.37.7

1 year ago

5.37.8

1 year ago

5.37.5

1 year ago

5.37.6

1 year ago

5.37.3

1 year ago

5.37.4

1 year ago

5.37.1

1 year ago

5.37.2

1 year ago

5.37.0

1 year ago

5.38.0

1 year ago

5.38.1

1 year ago

5.27.0

3 years ago

5.25.0-beta.6

3 years ago

5.25.0-beta.5

3 years ago

5.25.0-beta.4

3 years ago

5.26.1-beta.0

3 years ago

5.25.0-beta.3

3 years ago

5.25.0-beta.2

3 years ago

5.25.0-beta.1

3 years ago

5.25.0-beta.0

3 years ago

5.30.0

2 years ago

5.31.0-beta.0

2 years ago

5.31.0-beta.1

2 years ago

5.33.4-beta.0

2 years ago

5.33.2-beta.1

2 years ago

5.33.2-beta.0

2 years ago

5.33.2-beta.2

2 years ago

5.28.0

3 years ago

5.31.0

2 years ago

5.28.0-beta.0

3 years ago

5.33.5-beta.0

2 years ago

5.36.2-beta.1

2 years ago

5.36.2-beta.2

2 years ago

5.33.1-beta.0

2 years ago

5.29.0-beta.0

2 years ago

5.29.0

2 years ago

5.29.0-beta.2

2 years ago

5.29.0-beta.1

2 years ago

5.32.0

2 years ago

5.33.5

2 years ago

5.36.2-beta.0

2 years ago

5.35.3-beta.0

2 years ago

5.33.3

2 years ago

5.33.4

2 years ago

5.33.1

2 years ago

5.33.2

2 years ago

5.34.6-beta.4

2 years ago

5.34.6-beta.3

2 years ago

5.33.0

2 years ago

5.34.6-beta.6

2 years ago

5.25.1-beta.0

3 years ago

5.34.6-beta.5

2 years ago

5.25.1-beta.1

3 years ago

5.34.2-beta.0

2 years ago

5.34.0-beta.1

2 years ago

5.34.0-beta.2

2 years ago

5.34.2-beta.2

2 years ago

5.34.2-beta.1

2 years ago

5.34.0-beta.0

2 years ago

5.34.6-beta.0

2 years ago

5.34.4-beta.0

2 years ago

5.34.8-beta.0

2 years ago

5.34.8

2 years ago

5.34.6-beta.2

2 years ago

5.34.6-beta.1

2 years ago

5.34.6

2 years ago

5.26.0-beta.2

3 years ago

5.34.7

2 years ago

5.34.8-beta.1

2 years ago

5.34.4

2 years ago

5.26.0-beta.0

3 years ago

5.34.5

2 years ago

5.26.0-beta.1

3 years ago

5.35.1-beta.0

2 years ago

5.33.3-beta.0

2 years ago

5.36.0-beta.0

2 years ago

5.36.0-beta.2

2 years ago

5.36.0-beta.1

2 years ago

5.34.2

2 years ago

5.34.3

2 years ago

5.34.0

2 years ago

5.34.1

2 years ago

5.34.1-beta.1

2 years ago

5.34.1-beta.0

2 years ago

5.34.1-beta.3

2 years ago

5.34.1-beta.2

2 years ago

5.35.3

2 years ago

5.35.4

2 years ago

5.33.0-beta.1

2 years ago

5.33.0-beta.0

2 years ago

5.35.1

2 years ago

5.35.2

2 years ago

5.35.0

2 years ago

5.32.0-beta.0

2 years ago

5.36.2

2 years ago

5.30.0-beta.0

2 years ago

5.30.0-beta.1

2 years ago

5.35.4-beta.0

2 years ago

5.36.0

2 years ago

5.35.4-beta.1

2 years ago

5.36.1

2 years ago

5.34.3-beta.0

2 years ago

5.34.3-beta.1

2 years ago

5.34.3-beta.2

2 years ago

5.34.3-beta.3

2 years ago

5.37.0-beta.0

2 years ago

5.25.0

3 years ago

5.27.0-beta.0

3 years ago

5.36.1-beta.0

2 years ago

5.36.1-beta.1

2 years ago

5.34.5-beta.0

2 years ago

5.34.5-beta.1

2 years ago

5.34.7-beta.2

2 years ago

5.34.7-beta.1

2 years ago

5.34.7-beta.0

2 years ago

5.35.2-beta.0

2 years ago

5.35.0-beta.0

2 years ago

5.26.0

3 years ago

5.35.0-beta.1

2 years ago

5.35.0-beta.2

2 years ago

5.18.2-beta.0

3 years ago

5.19.0-beta.6

3 years ago

5.19.0-beta.4

3 years ago

5.19.0-beta.5

3 years ago

5.17.4-beta.0

3 years ago

5.17.4-beta.1

3 years ago

5.16.0

3 years ago

5.22.0-beta.3

3 years ago

5.22.0-beta.2

3 years ago

5.22.0-beta.1

3 years ago

5.22.0-beta.0

3 years ago

5.19.0-beta.2

3 years ago

5.19.0-beta.3

3 years ago

5.19.0-beta.0

3 years ago

5.17.4

3 years ago

5.23.1-beta.0

3 years ago

5.19.0-beta.1

3 years ago

5.17.3

3 years ago

5.17.2

3 years ago

5.17.0

3 years ago

5.20.0

3 years ago

5.18.0-beta.2

3 years ago

5.18.0-beta.1

3 years ago

5.24.0-beta.0

3 years ago

5.18.0-beta.0

3 years ago

5.22.1-beta.0

3 years ago

5.18.3

3 years ago

5.18.2

3 years ago

5.18.1

3 years ago

5.18.0

3 years ago

5.21.0

3 years ago

5.21.0-beta.0

3 years ago

5.18.0-beta.4

3 years ago

5.18.0-beta.3

3 years ago

5.17.3-beta.0

3 years ago

5.19.1

3 years ago

5.19.0

3 years ago

5.22.1

3 years ago

5.22.0

3 years ago

5.17.0-beta.1

3 years ago

5.23.1

3 years ago

5.23.0

3 years ago

5.18.1-beta.0

3 years ago

0.0.0-mt-2

3 years ago

0.0.0-mt-1

3 years ago

5.18.3-beta.0

3 years ago

0.0.0-mt-3

3 years ago

5.23.0-beta.0

3 years ago

5.23.0-beta.1

3 years ago

5.19.1-beta.0

3 years ago

5.24.0

3 years ago

5.17.2-beta.0

3 years ago

5.20.0-beta.0

3 years ago

5.20.0-beta.1

3 years ago

5.17.0-beta.2

3 years ago

5.20.0-beta.2

3 years ago

5.15.0

3 years ago

5.17.0-beta.0

3 years ago

5.15.0-beta.2

3 years ago

5.15.0-beta.3

3 years ago

5.16.0-beta.3

3 years ago

5.16.0-beta.4

3 years ago

5.16.0-beta.1

3 years ago

5.16.0-beta.2

3 years ago

5.16.0-beta.0

3 years ago

5.15.0-beta.1

3 years ago

5.15.0-beta.0

3 years ago

5.14.0

3 years ago

5.14.0-beta.0

3 years ago

5.13.0-beta.4

3 years ago

5.13.0-beta.3

3 years ago

5.13.0-beta.2

3 years ago

5.13.0-beta.1

3 years ago

5.13.0-beta.0

3 years ago

5.13.0

3 years ago

5.12.0-beta.0

3 years ago

5.12.0-beta.1

3 years ago

5.12.0

3 years ago

5.11.1

3 years ago

5.11.1-beta.0

3 years ago

5.11.0

3 years ago

5.11.0-beta.1

3 years ago

5.11.0-beta.0

3 years ago

5.11.0-beta.2

3 years ago

5.10.0-beta.2

3 years ago

5.10.0-beta.1

3 years ago

5.10.0

3 years ago

5.10.0-beta.0

3 years ago

5.9.0

4 years ago

5.9.0-beta.2

4 years ago

5.9.0-beta.1

4 years ago

5.9.0-beta.0

4 years ago

5.8.0-beta.0

4 years ago

5.8.0-beta.1

4 years ago

5.8.0

4 years ago

5.5.0-beta.3

4 years ago

5.5.0-beta.2

4 years ago

5.5.0-beta.1

4 years ago

5.5.0-beta.0

4 years ago

5.7.0-beta.0

4 years ago

5.5.0

4 years ago

5.6.0-beta.1

4 years ago

5.6.0-beta.0

4 years ago

5.6.0-beta.2

4 years ago

5.6.0

4 years ago

5.5.1-beta.0

4 years ago

5.7.0

4 years ago

5.4.0

4 years ago

5.4.0-beta.3

4 years ago

5.4.0-beta.1

4 years ago

5.4.0-beta.2

4 years ago

5.4.0-beta.0

4 years ago

5.3.0

4 years ago

5.3.0-beta.0

4 years ago

5.2.1-beta.0

4 years ago

5.2.1

4 years ago

5.2.0-beta.0

4 years ago

5.2.0

4 years ago

5.1.0-beta.0

4 years ago

5.1.0-beta.1

4 years ago

5.1.0

4 years ago

5.0.0-beta.5

4 years ago

5.0.0

4 years ago

5.0.0-beta.4

4 years ago

5.0.0-beta.3

4 years ago

5.0.0-beta.2

4 years ago

5.0.0-beta.0

4 years ago

5.0.0-beta.1

4 years ago

4.14.0

4 years ago

4.14.0-beta.0

4 years ago

4.14.0-beta.1

4 years ago

4.13.0-beta.0

4 years ago

4.13.0

4 years ago

4.12.1

4 years ago

4.12.1-beta.0

4 years ago

4.12.0-beta.1

4 years ago

4.12.0

4 years ago

4.12.0-beta.0

4 years ago

4.11.0-beta.1

4 years ago

4.11.0-beta.0

4 years ago

4.11.0

4 years ago

4.10.0

4 years ago

4.10.0-beta.0

4 years ago

4.9.0

4 years ago

4.9.0-beta.0

4 years ago

4.8.0-beta.2

4 years ago

4.8.0

4 years ago

4.8.0-beta.1

4 years ago

4.8.0-beta.0

4 years ago

4.7.0

4 years ago

4.7.0-beta.1

4 years ago

4.7.0-beta.0

4 years ago

4.6.0

4 years ago

4.6.0-beta.0

4 years ago

4.5.1-beta.1

4 years ago

4.5.1-beta.0

4 years ago

4.5.1

4 years ago

4.5.0-beta.0

4 years ago

4.5.0-beta.1

4 years ago

4.5.0-beta.2

4 years ago

4.5.0-beta.3

4 years ago

4.5.0-beta.4

4 years ago

4.5.0

4 years ago

4.4.0-beta.0

4 years ago

4.4.0-beta.3

4 years ago

4.4.0-beta.1

4 years ago

4.4.0-beta.2

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.3.0-beta.5

4 years ago

4.3.0-beta.4

4 years ago

4.3.0-beta.3

4 years ago

4.3.0-beta.2

4 years ago

4.3.0-beta.1

4 years ago

4.3.0-beta.0

4 years ago

4.2.0-beta.2

5 years ago

4.2.0

5 years ago

4.1.1-beta.2

5 years ago

4.2.0-beta.0

5 years ago

4.2.0-beta.1

5 years ago

4.1.1-beta.0

5 years ago

4.1.1-beta.1

5 years ago

4.1.0-beta.3

5 years ago

4.1.0

5 years ago

4.1.0-beta.1

5 years ago

4.1.0-beta.2

5 years ago

4.1.0-beta.0

5 years ago

4.0.3-beta.0

5 years ago

4.0.1

5 years ago

4.0.2

5 years ago

4.0.0-beta.17

5 years ago

4.0.0

5 years ago

4.0.0-beta.19

5 years ago

4.0.0-beta.18

5 years ago

4.0.0-beta.16

5 years ago

4.0.0-beta.14

5 years ago

4.0.0-beta.8

5 years ago

4.0.0-beta.10

5 years ago

4.0.0-beta.13

5 years ago

4.0.0-beta.12

5 years ago

4.0.0-beta.9

5 years ago

4.0.0-beta.7

5 years ago

4.0.0-beta.6

5 years ago

4.0.0-beta.5

5 years ago

4.0.0-beta.1

5 years ago

4.0.0-beta.0

5 years ago

3.0.1

5 years ago

3.0.1-next.0

5 years ago

3.0.0

5 years ago

2.0.1-next.2

5 years ago

2.0.1-next.1

5 years ago

2.0.1-next.0

5 years ago

2.0.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago