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

deyarn

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

deyarn

A command-line tool for converting projects that use Yarn to npm.

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

deyarn

A command-line tool for converting projects that use yarn to npm.

The follow-up to npm2yarn. A blog post describing how we decided to switch back to npm is coming soon :).

Procedure

deyarn:

  1. Checks out the master branch
  2. Pulls the latest changes
  3. Checks out a new branch, deyarnify, overwriting any existing deyarnify branch
  4. Removes yarn.lock if it exists
  5. Removes node_modules to avoid any installation conflicts
  6. Installs your project dependencies using npm, generating a package-lock.json file
  7. Runs npm test as a sanity check
  8. Stages the changes made
  9. Logs a list of manual steps to be taken to complete the transition

This conversion will likely involve the upgrading of some/many of your transitive dependencies, so make sure to test thoroughly! :)

Installation

$ npm install -g deyarn

or

$ yarn global add deyarn

Usage

(in the directory of the project to convert, which must be a Git repository)

$ deyarn

Contributing

We welcome your pull requests! Please lint your code.

Changelog

  • 1.0.0 Add initial code

FAQs

Package last updated on 03 May 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

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