Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apendua/altimeter
A simple altimeter for Meteor
https://github.com/apendua/altimeter
Last synced: 27 days ago
JSON representation
A simple altimeter for Meteor
- Host: GitHub
- URL: https://github.com/apendua/altimeter
- Owner: apendua
- License: mit
- Created: 2014-07-03T00:30:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T00:59:02.000Z (over 10 years ago)
- Last Synced: 2024-09-29T10:05:21.544Z (about 1 month ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# altimeter
A simple altimeter for Meteor.
# What?
Have you ever wondered how to implement a smart-package that behaves differently
in development environment? Here's the answer for you:
```
mrt install altimeter
```
and the thing is as easy as
```
if (Meteor.isDevelopment) {
console.log('Hurray! I can do whatever I want.');
}
```
As a bonus feature (sic!), to prevent you from writing `!Meteor.isDevelopment`
the package also provides `Meteor.isProduction` variable. Have fun!