npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

meteor-typings

v1.4.1

Published

Type definitions for Meteor

Downloads

9,523

Readme

Typings for Meteor Build Status

1.2v: ambient Meteor typings, i.e., defines modules like Meteor, Mongo etc.

1.3v: contains ambient modules from 1.2v and defines based on them new Meteor 1.3 namespaces like meteor/meteor, meteor/mongo etc.

Installation

typings install registry:env/meteor --global

typings is a major typings utility today, which can install and search typings across multiple registers including DefinitelyTyped.

For example, if you want to install NodeJS typings, try: typings install registry:env/node --global.

To find out if there is any typings for a particular library or NPM, use typings search .... For more information, please read here.

You could try also to copy&paste typings.json file located at the root of this repo to your app. It is supposed to contain major typings Meteor depends on. After copying, execute typings install.

Atmosphere packages

If you want to install some Atmosphere package's typings, search for an appropriate repo in the current meteor-typings organization, which is supposed to contain all available typings of such type.

If you have found that package's typings repo, go inside and read how to install typings. If not - you are very welcome to create new repo and contribute typings.

Development

In order to build all typings run gulp build.

1.2 and 1.3 share the same Meteor core packages' typings, which are located in 1.2/packages. When you run gulp 1_3, typings are modified to contain modules corresponding new Meteor 1.3 namespaces.

Contribution

Please make sure that you change associated Meteor packages' typings directly in 1.2/packages and 1.3/packages folders. main.d.ts and browser.d.ts are built out of them. Here are contribution steps.

  1. Install dependencies via npm install in this directory.
  2. Change typing files in the directories 1.2/packages or/and 1.3/packages.
  3. (Optional) Add test cases in the file 1.3/test/test.ts.
  4. Run npm run build+test to generate [1.2|1.3]/[browser.d.ts|header.d.ts|main.d.ts] and to test typings.