mock-repository-provider
Version:
mocking repository provider
68 lines (42 loc) • 2.49 kB
Markdown
[](https://www.npmjs.com/package/mock-repository-provider)
[](https://spdx.org/licenses/0BSD.html)
[](https://bundlejs.com/?q=mock-repository-provider)
[](https://npmjs.org/package/mock-repository-provider)
[](https://github.com/arlac77/mock-repository-provider/issues)
[](https://actions-badge.atrox.dev/arlac77/mock-repository-provider/goto)
[](https://github.com/prettier/prettier)
[](http://commitizen.github.io/cz-cli/)
[](https://snyk.io/test/github/arlac77/mock-repository-provider)
# mock-repository-provider
mocking repository provider
# API
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
### Table of Contents
* [MockRepository](#mockrepository)
* [fullName](#fullname)
* [MockProvider](#mockprovider)
* [Parameters](#parameters)
* [url](#url)
* [name](#name)
## MockRepository
**Extends Repository**
### fullName
Full repository name within the provider.
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** full repo name
## MockProvider
**Extends MultiGroupProvider**
### Parameters
* `files` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
* `options`  
### url
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** '<http://mock-provider.com>'
### name
We are called mock.
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** mock
# install
With [npm](http://npmjs.org) do:
```shell
npm install {{name}}
```
# license
BSD-2-Clause