Skip to content

Configure a path to response server statistics of Meteor applications in JSON.

License

Notifications You must be signed in to change notification settings

szchenghuang/facts-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facts-Page

Configure a path to response server statistics of Meteor applications in JSON.

Installation

meteor add szchenghuang:facts-page

Example

import FactsPage from 'meteor/szchenghuang:facts-page';

Meteor.startup( () => {
  if ( Meteor.isServer ) {
    FactsPage.init({ path: '/path/to/page' });
  }
});

Usage

facts-page serves requests server statistics in JSON. Simply call FactsPage.init() to set the optional path. It defaults to /facts. Pass no argument if you are happy with the default path.

It depends on the facts package from Meteor; server side only.

License

MIT. See LICENSE.md for details.

About

Configure a path to response server statistics of Meteor applications in JSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published