Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including gitana with all npm packages installed. Try it out:

var gitana = require("gitana")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gitana v1.0.315

Cloud CMS Gitana Driver for Node JS

Cloud CMS Gitana Module for NodeJS

This GitHub repository defines a NodeJS module for interaction with the Cloud CMS platform. This module packages up the existing Cloud CMS JavaScript driver and makes it available via the Node JS module registry.

There is no need to sync this repository and build it locally. If you'd like to access Cloud CMS within your Node JS application, just do the following:

var Gitana = require("gitana");

That's it.

To connect to Cloud CMS, use your client key/secret and authentication parameters:

Gitana.connect({
    "clientKey": "<clientKey>",
    "clientSecret": "<clientSecret>",
    "username": "<username>",
    "password": "<password>"
}, function(err) {
    // connected!
});

This module provides a light Node.js-ready wrapper around the Gitana JS driver. To learn more, please see:

https://github.com/gitana/gitana-javascript-driver

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free