Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinacms/core

Package Overview
Dependencies
Maintainers
11
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinacms/core

The `@tinacms/core` package provides the core objects for building amazing content management systems.

  • 0.7.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
99
decreased by-51.71%
Maintainers
11
Weekly downloads
 
Created
Source

@tinacms/core

The @tinacms/core package provides the core objects for building amazing content management systems.

Installation

Install the package

npm install --save @tinacms/core

or

yarn add @tinacms/core

F.A.Q.

Below are the answer to a couple common questions.

If you have any other questions, go to the TinaCMS Community page to join our Slack or open an issue on Github! Every question you ask helps us make working with TinaCMS even better :)

What does the CMS do?

The responsibility of the CMS keeps track of two broad types of objects:

  • Plugins, which extend or change the behaviour of the CMS.
  • APIs, which allow the CMS to integrate with third party services.

What? That doesn't seem like a CMS

The name CMS is a bit misleading. This object knows nothing of the user interface or the data storage layer. The purpose of a CMS instance is to provide a common connection point for the various aspects of a content management system. The CMS object effectively a vehicle for dependency injection.

Examples

Creating a CMS

import { CMS } from '@tinacms/core'

let cms = new CMS()

Registering APIs

import github from 'my-github-client'

cms.registerApi('github', github)

cms.api.github

Adding Plugins

import github from 'my-github-client'

cms.plugins.add({
  __type: 'some-plugin',
  some: 'value',
})

cms.plugins.all('some-plugin') // [{ __type: 'some-plugin', some: 'value' }]

Keywords

FAQs

Package last updated on 24 Jan 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc