yi-jian-mei
v1.1.1
Published
Package that returns you the chorus of Fei Yu-ching's song, 一剪梅.
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 initInstall the
yi-jian-meiNPM package with:$ yarn add yi-jian-meiVoila! 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-meior
$ git clone [email protected]:chrisgzf/yi-jian-meiif you use SSH with GitHub (you really should!)
Change directory to the source folder
$ cd yi-jian-meiInstall dependencies
yi-jian-mei $ yarn installYou can now edit the source code for this package!
To run tests, you can run:
yi-jian-mei $ yarn testPlease 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!
