Socket
Socket
Sign inDemoInstall

is-yarn-global

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-yarn-global - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

dist/index.d.ts

19

package.json
{
"name": "is-yarn-global",
"version": "0.3.0",
"version": "0.4.0",
"description": "Check if installed by yarn globally without any `fs` calls",
"repository": "git@github.com:LitoMore/is-yarn-global.git",
"author": "LitoMore (litomore@gmail.com)",
"type": "module",
"exports": "./dist/index.js",
"types": "source",
"files": [
"dist"
],
"engines": {
"node": ">=12"
},
"license": "MIT",
"scripts": {
"build": "tsc",
"test": "xo"
},
"devDependencies": {
"ava": "^0.24.0",
"xo": "^0.18.2"
"@sindresorhus/tsconfig": "^1.0.2",
"xo": "^0.39.1"
},
"xo": {
"prettier": true
}
}

5

README.md
# is-yarn-global
[![](https://img.shields.io/travis/LitoMore/is-yarn-global/master.svg)](https://travis-ci.org/LitoMore/is-yarn-global)
[![](https://img.shields.io/npm/v/is-yarn-global.svg)](https://www.npmjs.com/package/is-yarn-global)
[![](https://img.shields.io/npm/l/is-yarn-global.svg)](https://github.com/LitoMore/is-yarn-global/blob/master/LICENSE)
[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

@@ -21,3 +20,3 @@ Check if installed by yarn globally without any `fs` calls

```javascript
const isYarnGlobal = require('is-yarn-global');
import isYarnGlobal from 'is-yarn-global';

@@ -24,0 +23,0 @@ console.log(isYarnGlobal());

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