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

@tinacms/core

Package Overview
Dependencies
Maintainers
12
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinacms/core

A CMS Toolkit

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

Version published
Weekly downloads
228
increased by15.15%
Maintainers
12
Weekly downloads
 
Created
Source

@tinacms/core

A CMS Toolkit

Installation

Install the package

npm install --save @tinacms/core

or

yarn add @tinacms/core

Getting Started

@tinacms/core is the core for building content management systems.

import { CMS } from '@tinacms/core'

let cms = new CMS()

Register a new form:

let form = cms.forms.createForm({
  name: 'hello-world',
  initialValues: {
    title: 'Hello World',
    description: 'A fun time can be head with programming.',
  },
  fields: [
    { name: 'title', component: 'text' },
    { name: 'description', component: 'text' },
  ],
})

API

The following can be imported from @tinacms/cms

CMS

The base CMS class.

forms: FormManager

TODO

Subscribable

TODO

Types

Form

FormManager

create<S>(options: FormOptions<S>): Form<S>
findForm(name: string): Form
removeForm(): void
all(): Form[]

FormOptions<S>

Keywords

FAQs

Package last updated on 09 Oct 2019

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