Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/root-kings/tushar.js
This is Tushar.
https://github.com/root-kings/tushar.js
Last synced: about 1 month ago
JSON representation
This is Tushar.
- Host: GitHub
- URL: https://github.com/root-kings/tushar.js
- Owner: root-kings
- License: mit
- Created: 2020-06-11T12:52:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T13:32:23.000Z (over 4 years ago)
- Last Synced: 2024-08-09T04:39:22.387Z (5 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tushar
![npm](https://img.shields.io/npm/v/@root-kings/tushar) ![npm bundle size](https://img.shields.io/bundlephobia/min/@root-kings/tushar)
This is Tushar.
## Usage
In JavaScript files
Install with `npm i -s @root-kings/tushar`
```js
const tushar = require('@root-kings/tushar')tushar.greet() // greet stranger
tushar.greet('name') // greet name
```CLI
Install with `npm i -g @root-kings/tushar`
```bash
# greet stranger
$ tushar-greet# greet name
$ tushar-greet name
```