Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chanonroy/is-chanon

🤔 Parody npm package to test tooling, publishing, and deployment
https://github.com/chanonroy/is-chanon

circleci docz jest netlify node semantic-release typescript yarn

Last synced: about 1 month ago
JSON representation

🤔 Parody npm package to test tooling, publishing, and deployment

Awesome Lists containing this project

README

        

# is-chanon

[![NPM](https://img.shields.io/npm/l/is-chanon.svg)](https://github.com/chanonroy/is-chanon/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/is-chanon.svg)](https://www.npmjs.com/package/is-chanon)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

A simple stateless function to determine whether a string contains my name (Chanon) or not.

This is more of a parody module to help me test out best practices with CI/CD, npm publishing, and semantic versioning.

## Usage

Install the package

```
yarn add is-chanon
```

Use the package as needed

```js
const isChanon = require("is-chanon");

isChanon("Chanon"); // true
isChanon("chanon"); // true
isChanon("Charles"); // false
isChanon("channon"); // false
isChanon("matthew"); // false
```

## Testing

Install dependencies

```
yarn
```

Run the Jest tests

```
yarn test
```

## Contributing

Feel free to open up a PR and contribute to this great npm package.