yi-jian-mei
v1.1.1
Published
Package that returns you the chorus of Fei Yu-ching's song, 一剪梅.
Downloads
6
Readme
yi-jian-mei (一剪梅)
"xue hua piao piao bei feng xiao xiao"
NPM package that returns you the chorus lyrics of Fei Yu-ching's song, 一剪梅. This package is published on the NPM registry and is also available on GitHub.
Why?
Good question.
How to use
Install NodeJS and yarn (or use npm, it comes installed with NodeJS).
Go to an existing project or create a new project with:
$ yarn init
Install the
yi-jian-mei
NPM package with:$ yarn add yi-jian-mei
Voila! You can now use the package in your code! For example:
const yiJianMei = require('yi-jian-mei'); const chorus = yiJianMei(); // `chorus` should now be '雪花飘飘,北风萧萧' console.log(chorus); // You should now see '雪花飘飘,北风萧萧'
Setting up the development environment
Clone the repository
$ git clone https://github.com/chrisgzf/yi-jian-mei
or
$ git clone [email protected]:chrisgzf/yi-jian-mei
if you use SSH with GitHub (you really should!)
Change directory to the source folder
$ cd yi-jian-mei
Install dependencies
yi-jian-mei $ yarn install
You can now edit the source code for this package!
To run tests, you can run:
yi-jian-mei $ yarn test
Please note that as a community, we have decided to enforce strict testing, linting and styling. If you would like to contribute to the codebase, your PR has to pass all CI checks. You can run these checks locally with:
yi-jian-mei $ yarn test && yarn lint-check && yarn prettier-check
Contributing
We accept PRs!