https://github.com/veliovgroup/meteor-files-demo
Demo application for ostrio:files package
https://github.com/veliovgroup/meteor-files-demo
application aws-s3 demo dropbox google-cloud-storage heroku herokuapp meteor meteor-application sharing storage
Last synced: 4 months ago
JSON representation
Demo application for ostrio:files package
- Host: GitHub
- URL: https://github.com/veliovgroup/meteor-files-demo
- Owner: veliovgroup
- License: bsd-3-clause
- Created: 2016-04-07T03:20:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T12:12:16.000Z (over 1 year ago)
- Last Synced: 2025-05-02T13:44:13.911Z (6 months ago)
- Topics: application, aws-s3, demo, dropbox, google-cloud-storage, heroku, herokuapp, meteor, meteor-application, sharing, storage
- Language: JavaScript
- Homepage: https://github.com/VeliovGroup/Meteor-Files
- Size: 59.4 MB
- Stars: 17
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# require-main-filename
[](https://travis-ci.org/yargs/require-main-filename)
[](https://coveralls.io/r/yargs/require-main-filename?branch=master)
[](https://www.npmjs.com/package/require-main-filename)
`require.main.filename` is great for figuring out the entry
point for the current application. This can be combined with a module like
[pkg-conf](https://www.npmjs.com/package/pkg-conf) to, _as if by magic_, load
top-level configuration.
Unfortunately, `require.main.filename` sometimes fails when an application is
executed with an alternative process manager, e.g., [iisnode](https://github.com/tjanczuk/iisnode).
`require-main-filename` is a shim that addresses this problem.
## Usage
```js
var main = require('require-main-filename')()
// use main as an alternative to require.main.filename.
```
## License
ISC