npm-lint VS just

Compare npm-lint vs just and see what are their differences.

npm-lint

A linter for npm & node package.json files with a focus on dependency security (by tanepiper)

just

πŸ€– Just a command runner (by casey)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
npm-lint just
4 167
26 17,403
- -
0.0 9.0
about 4 years ago 3 days ago
TypeScript Rust
MIT License Creative Commons Zero v1.0 Universal
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

npm-lint

Posts with mentions or reviews of npm-lint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-27.
  • JavaScript registry NPM vulnerable to 'manifest confusion' abuse
    3 projects | news.ycombinator.com | 27 Jun 2023
    That postinstall and other scripts have been a problem for a long time - the PoC for example could be installed via npx, which would then run postinstall which executes another script to steal /etc/password data.

    This is not a new problem, you just have another vector.

    I came up with a free linter package to try solve it - but no one seemed interested, and here we are 7 later talking about where people are now offering paid services to mitigate it.

    https://github.com/tanepiper/npm-lint

  • Dissecting Npm Malware: Five Packages And Their Evil Install Scripts
    4 projects | /r/javascript | 18 Apr 2023
    Also ended up writing a similar tool but didn't take it much further.
  • npm package to upload your private ssh keys to a pastebin
    3 projects | /r/javascript | 18 Mar 2022
    I did try come up with a npm linter but never really completed it.
  • Getting rid of NPM scripts
    4 projects | news.ycombinator.com | 26 Dec 2020
    A while back I wrote a opt-in tool called npl-lint[1] that would allow some CI-level enforcement of rules in package.json although I didn't go too far with it - one thing was to check the scripts section and allow whitelisted apps, or whitelisted sources for dependencies.

    It came about because I ended up having a spat with one of the NPM engineers at the time because they launched npx with the ability to run arbitrary gists[2] and this was before 2FA (FWIW you can still absolutely do this with npx).

    I wrote a proof of concept[3] that showed you could, inside a package.json add a command to install another package from a gist location, and then use that to steal credentials, bash history, etc.

    [1] https://github.com/tanepiper/npm-lint

just

Posts with mentions or reviews of just. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.
  • I stopped worrying and loved Makefiles
    7 projects | news.ycombinator.com | 27 Apr 2024
    I don't like makefiles, but I've been enjoying justfiles: https://github.com/casey/just
  • Just a Command Runner
    1 project | news.ycombinator.com | 25 Apr 2024
  • Ask HN: Any tool for managing large and variable command lines?
    8 projects | news.ycombinator.com | 25 Apr 2024
    I started using just [0] on my projects and have been very happy so far. It is very similar to make but focused on commands rather than build outputs.

    Define your recipes and then you can compose them as needed.

    [0] https://github.com/casey/just

  • Ask HN: What software sparks joy when using?
    10 projects | news.ycombinator.com | 17 Apr 2024
    just - https://github.com/casey/just
  • GitHub switched to Docker Compose v2, action needed
    2 projects | news.ycombinator.com | 3 Apr 2024
    Welp there is absolute chaos in that thread -- guess it's not an April Fools joke.

    I wonder if relying on CI for anything other than provisioning machines is a mistake -- maybe we should have never moved from doing things from local scripts written in $LANGUAGE.

    That said, I'm probably biased since I'm a massive fan of things like `make` and more appropriately for the current age, `just`[0]

    [0]: https://github.com/casey/just

  • Which command did you run 1731 days ago?
    9 projects | news.ycombinator.com | 21 Jan 2024
    > When a command has some cognitive requirements I create a script with some ${1:-default} values and I store them all in $PATH enabled local/bin

    I would consider using just for this:

    https://github.com/casey/just

  • Using Make – writing less Makefile
    6 projects | news.ycombinator.com | 26 Dec 2023
    Your coworker's experience is more principled: Make is a mediocre tool for executing commands. It wasn't ever designed for that. Although it is pretty common to see what you are mentioning in projects because it doesn't require installing a dependency.

    For a repo where an easy to install (single binary) dependency is a non-issue, consider using just. [1] You get `just -l` where you can see all the command available, the ability to use different languages, and overall simpler command writing.

    [1] https://github.com/casey/just

  • Show HN: Just.sh – compiler that turns Justfiles into portable shell scripts
    7 projects | news.ycombinator.com | 26 Dec 2023
    This is fantastic, but I'd say that this solution is somewhat in response to this open issue from 2019:

    https://github.com/casey/just/issues/429

    I really wish just was included as a package in distributions.

  • Sharing Saturday #496
    6 projects | /r/roguelikedev | 8 Dec 2023
    So far, I didn't work on new features at all but on stabilizing the ground for further development: 1. CMake lists and modules were rewritten a lot, now managing builds and their configurations is much lesser pain. 2. Brought in Justfile for regular tasks, and it's great, no less. 3. Linters, formatters, analyzers for almost all the code (except for Janet for now, as because of it being a niche and young technology, it didn't get enough attention yet). 4. ECS stub. Now runtime class doesn't look like a god object. 5. Started writing unit tests which didn't happen with my personal projects before and maybe indicates how serious am I about this one :D 6. Some of previously hardcoded data has been moved to INI files. Now, if I release the game in 10 years, and in 10 more years some eccentric person decides to make a variant of it, it will be slightly simpler.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    i've grown to like this for my personal projects. https://github.com/casey/just

What are some alternatives?

When comparing npm-lint and just you can also consider the following projects:

ultra-runner - πŸƒβ›° Ultra fast monorepo script runner and build tool

Task - A task runner / simpler Make alternative written in Go

pnpm - Fast, disk space efficient package manager

cargo-make - Rust task runner and build tool.

steal-ur-stuff - Steal Ur Stuff

cargo-xtask

actual-malware - Useful library dependency

Taskfile - Repository for the Taskfile template.

CodeLLDB - A native debugger extension for VSCode based on LLDB

cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.

helix - A post-modern modal text editor.

Module Linker - browse modules by clicking directly on "import" statements on GitHub