Socket
Socket
Sign inDemoInstall

@craftercms/classes

Package Overview
Dependencies
0
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @craftercms/classes

Crafter CMS framework classes for developing sites and applications


Version published
Weekly downloads
133
decreased by-63.46%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@craftercms/classes

This package contains useful classes for developing craftercms websites & applications.

Usage

  • Install module using yarn or npm
    • Yarn: yarn add @craftercms/classes
    • npm: npm install @craftercms/classes
  • Import and use the classes you need

Classes


SDK Service

SDKService Provides http get and post methods for Crafter services

Examples

  import { SDKService } from '@craftercms/classes';

  const requestURL = "/crafter-url";

  SDKService.httpGet(requestURL, { 
    crafterSite: "editorial"
  })
  .subscribe((response) => {
    ...
  })

Keywords

FAQs

Last updated on 30 Jul 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc