2.0.2 • Published 4 years ago

moonmoji v2.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

moonmoji

moonmoji

Return an emoji representing the current moon phase.

CLI

$ npm install --global moonmoji

In your bash

The main goal of this was to have the emoji display in a shell. This can be accomplished by adding the script to your PS1 export in your .bash_prompt or similar, eg:

PS1=$(moonmoji);
export PS1;

Examples:

prompt 1 prompt 2

  • note: If you have additional information in your PS1 you'll need to have two spaces after the emoji character.

Thanks

@lauradegroot for inspiration
@bwinton for pretty much authoring the whole thing
@matiassingers for tests!
The whole meatspace community for being awesome.

Licence

MIT

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago