Socket
Socket
Sign inDemoInstall

@craftercms/classes

Package Overview
Dependencies
4
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
136
decreased by-13.38%
Maintainers
3
Created
Weekly downloads
 

Changelog

Source

1.2.3

@craftercms/ice

  • Add package.json to react folder for prettier import usage and module bundler support

@craftercms/content

  • Improve robustness of parseDescriptor function
  • Adds preParseSearchResults function

misc

  • Added docs to package readme files for plain html/js usage
  • Removed the browser field from package.json files so bundlers can make use of es6 modules and tree shaking
  • Add npm badge to README files

Readme

Source

npm (scoped)

@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 { httpGet } from '@craftercms/classes';

  const requestURL = "/some-url";

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

Keywords

FAQs

Last updated on 23 May 2020

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc