Checks if a string of space separated symbols includes a specific one or not.
npm i @mooncake-dev/check-symbols
The module exposes a single function to check symbols.
Parameters:
| Name | Required | Type | Description | 
|---|---|---|---|
| receivedSymbols | Yes | String | A string of space separated symbols, e.g. "a b c". | 
| requiredSymbol | Yes | String | The symbol to check for, e.g. "b". | 
Returns:
Boolean. If the required symbol was found or not.
const checkSymbols = require('@mooncake-dev/check-symbols');
checkSymbols('a b c', 'e'); // falseFor now we publish manually using:
npm publish --access public
Make sure:
- You increment the npm version after you make code changes with 
npm version. - You're logged in.
 
More information can be found here.