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
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
near-api-js near-cli
1 4
216 134
13.9% 11.2%
8.3 7.6
7 days ago 8 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:

near-cli-rs

berry - 📦🐈 Active development trunk for Yarn ⚒

near-sdk - SDK for NEAR Protocol

near-wallet - Web wallet for NEAR Protocol which stores keys in browser's localStorage

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

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

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

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