Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

meteor-package

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meteor-package

Integration for using and relying on Meteor Atmosphere packages in npm packages.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

meteor-package

The Meteor framework has its own packaging system apart from npm that uses packages from atmospherejs.com. This package exists to make integrating npm packages with Atmosphere packages easy.

Define Meteor Dependencies

Inside your npm package or non-Meteor code, you can rely on a package by simply getting it in the proper environment (client or server) like this:

import { getMeteorClientPackage,  getMeteorServerPackage } from 'meteor-package';

// rely on a Meteor package on the client
const SimpleSchema = getMeteorClientPackage('aldeed:simlpe-schema');

// rely on a Meteor package on the server
const cluster = getMeteorServerPackage('meteorhacks:cluster');

If the package is missing in the specified environment, an error will be thrown with instructions on how to meet the dependency requirement like this:

$: ==> Meteor Package missing: 'aldeed:simple-schema' on client environment.
       Please run 'meteor add aldeed:simple-schema' to satisfy the Meteor 
       package dependency.

FAQs

Package last updated on 29 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc