near-api-js VS near-cli

Compare near-api-js vs near-cli and see what are their differences.

near-api-js

JavaScript library to interact with NEAR Protocol via RPC API (by near)

near-cli

General purpose command line tools for interacting with NEAR Protocol (by near)
Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
near-api-js near-cli
1 4
148 103
20.3% 11.7%
8.7 8.6
8 days ago 7 days ago
TypeScript JavaScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

near-api-js

Posts with mentions or reviews of near-api-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-25.
  • Building a Voting Smart Contract with Near Protocol and Typescript
    6 projects | dev.to | 25 Nov 2021
    That's it, now you can try to build some nice web app to have a frontend application which can use your smart contract. Usefull library to get started with the js api for building near web apps is near-api-js or if you're familiar with react you can use create-near-app library. Good luck!

near-cli

Posts with mentions or reviews of near-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.

What are some alternatives?

When comparing near-api-js and near-cli you can also consider the following projects:

create-near-app - Create a starter app hooked up to the NEAR blockchain

near-cli-rs

node - Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:

near-voting-app-smart-contract-tutorial - Tutorial for building Near Protocol Smart Contract for a Voting App

berry - 📦🐈 Active development trunk for Yarn ⚒

hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.