Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nymag/clay-utils
- Owner: nymag
- License: mit
- Created: 2017-04-19T14:52:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T15:04:46.000Z (over 7 years ago)
- Last Synced: 2024-10-12T09:25:44.345Z (3 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 45
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)