Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bazaarvoice/bv-ui-core

A Node module for common Bazaarvoice UI code.
https://github.com/bazaarvoice/bv-ui-core

Last synced: about 15 hours ago
JSON representation

A Node module for common Bazaarvoice UI code.

Awesome Lists containing this project

README

        

![](https://travis-ci.org/bazaarvoice/bv-ui-core.svg)

# bv-ui-core

This project provides a central location for common Bazaarvoice UI code. It is
intended to be installed into a project via NPM. Individual modules are authored
as CommonJS modules, to be consumed by Webpack or another build tool that can
ingest CommonJS.

**This is a public repository.** Please see the [contribution guidelines][1] for
details on contributing to this repo.

## Installation

You will need NPM to add this to your project; it is installed when you install
Node, so it is likely that you already have it. If not, you can install Node
using an [installer][2], or by using your favorite package manager (such as
Homebrew).

Once you have NPM, you can install bv-ui-core as follows:

```bash
npm install --save bv-ui-core
```

## Usage

Require bv-ui-core modules into your code:

```javascript
var someModule = require('bv-ui-core/lib/someModule');
someModule.doThings();
```

For details on how to use a specific module, see the README document in the
module's directory.

## Modules

- [body](./lib/body)
- [bvFetch](./lib/bvFetch/)
- [checkHighContrast](./lib/checkHighContrast)
- [cookie](./lib/cookie)
- [cookieConsent](./lib/cookieConsent)
- [cssLoadChecker](./lib/cssLoadChecker)
- [date.now](./lib/date.now)
- [domainPolice](./lib/domainPolice)
- [evented](./lib/evented)
- [getOriginalConstructor](./lib/getOriginalConstructor)
- [global](./lib/global)
- [ie](./lib/ie)
- [loader](./lib/loader)
- [logger](./lib/logger)
- [namespacer](./lib/namespacer)
- [performance](./lib/performance)
- [polyfills](./lib/polyfills)
- [pixelsDisplayed](./lib/pixelsDisplayed)
- [staticAssetLoader](./lib/staticAssetLoader)
- [waitForBody](./lib/waitForBody)
- [queryShadowDom](./lib/queryShadowDom)

[1]: ./CONTRIBUTING.md
[2]: https://nodejs.org/download/