Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@intrinsic/loc

IntrinsicLabs8GPL-3.0-only1.0.1

Compare the amount code in your application vs. in its node_modules folder

readme

loc: lines of code

Description

loc is a simple tool comparing the number of lines of code in your Node.js application vs. the number of lines of code in your node_modules folder. This tool was developed by the team at Intrinsic, in order to shed light on how much code you are trusting in your Node.js applications.

Usage

In your application folder execute the following command: npx @intrinsic/loc

Example output:

_)      |       _)         _)
 | __ \ __|  __| | __ \ __| |  __|
 | |  | |   |    | |  |\__\ | (
_|_| _|\__|_|   _|_| _|___/_|\___|

Your application code:     835 lines ( 0.52%)
`node_modules` code:   159,149 lines (99.48%)

Want to learn more? https://intrinsic.com/

Need help or have a question? Contact hello@intrinsic.com