You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

fbjs-scripts

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fbjs-scripts

A bundle of helpful scripts used in projects consuming fbjs.

0.8.2
Source
npm
Version published
Weekly downloads
86K
-18.67%
Maintainers
4
Weekly downloads
 
Created
Source

fbjs-scripts

This is a collection of tools and scripts intended to be used in conjunction with fbjs. Previously these were shipped as a part of fbjs.

// before (fbjs@0.1.0)
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs/scripts/babel/dev-expression');

// after (fbjs, fbjs-scripts@0.2.0)
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs-scripts/babel/dev-expression');

Why?

This ensures that production code consuming fbjs library code does not need to install script dependencies, unless you explicitly use them via the fbjs-scripts package.

FAQs

Package last updated on 27 Mar 2018

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