Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nymag/clay-utils

Utility functions for working with Clay
https://github.com/nymag/clay-utils

Last synced: 13 days ago
JSON representation

Utility functions for working with Clay

Awesome Lists containing this project

README

        

# clay-utils

[![Build Status](https://travis-ci.org/nymag/clay-utils.svg?branch=master)](https://travis-ci.org/nymag/clay-utils)
[![Coverage Status](https://coveralls.io/repos/github/nymag/clay-utils/badge.svg?branch=master)](https://coveralls.io/github/nymag/clay-utils?branch=master)

Utility functions for working with Clay

# Installation

```
npm install --save clay-utils
```

---

# Utils:

* **getComponentInstance** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getComponentInstance)
* **getComponentName** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getComponentName)
* **getComponentVersion** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getComponentVersion)
* **getListInstance** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getListInstance)
* **getPageInstance** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getPageInstance)
* **getPageVersion** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/getPageVersion)
* **isComponent** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/isComponent)
* **isDefaultComponent** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/isDefaultComponent)
* **isList** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/isList)
* **isPage** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/isPage)
* **isUser** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/isUser)
* **replaceVersion** [(code|tests|docs)](https://github.com/nymag/clay-utils/tree/master/lib/replaceVersion)