Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
88 views

Javascript CLI to boot iOS simulators, install project, extract data, and merge into JSON

I'm a DIY "dev" - so I really create things that I need or think they'll end up helping others. I wrote this Swift Package so the iOS community could get device bezel radius' to help with UI ...
markb's user avatar
  • 171
2 votes
1 answer
67 views

Arithmetic quiz on the command line

I am writing a program that asks questions, takes the user's input, and responds according to whether the answer they gave is correct or not. I am looking to improve my code with respect to ...
Dat Le's user avatar
  • 21
3 votes
1 answer
58 views

(Improved) get-release npm module

Improved version of the original question I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's ...
user avatar
9 votes
1 answer
75 views

get-release npm module

Solved, question with improved code I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's anything to ...
user avatar
2 votes
0 answers
56 views

A Firebase Uploader CLI

I built this code as part of a test project that was given to me by a company. They had given me a .csv file that contained over 9000 records and wanted me to build a program that would upload it to ...
HonorableTones's user avatar
3 votes
1 answer
216 views

NodeJS CLI script to create React apps

Background I crated a CLI tool which executes an npm command (to create a react app) and modifies the contents of the generated files. It was a practice attempt at ...
nopassport1's user avatar
5 votes
3 answers
177 views

TicTacToe in Javascript

I made this two player TicTacToe game as a challenge i was given in class. The game starts where the first player chooses where their X will be placed. Each area in the array has been given a number ...
NixonFixon's user avatar
1 vote
1 answer
87 views

NodeJS commit message validator

I wrote a commit message validator + CLI in NodeJS. Notes: My greatest concern is that the patten I use to represent the results of a validation is inadequate. Options: Use adhoc enums Create a ...
shreyasminocha's user avatar
4 votes
1 answer
453 views

CLI to bump package.json version and add git tags

I'm writing a command line app in node.js. At this stage, the app does the following: Get the version from package.json Update the package.json with a new version ...
shreyasminocha's user avatar
2 votes
2 answers
1k views

Temperature conversion in JavaScript

I've made a simple console application using JavaScript, NodeJS and yargs. index.js This is the startup file. ...
justapilgrim's user avatar
3 votes
1 answer
167 views

Node.js command line app to init a repo

In order to learn more about Node.js and promises I followed a tutorial on Sitepoint about building a command line app. I liked the idea and simplicity of Node so I decided to build my own that ...
5k313t0r's user avatar
0 votes
1 answer
129 views

Calculating the terminal width and height

As part of the bigger problem I am trying to solve smaller problems first and hence below is the code to find the terminal width and height. Code ...
CodeYogi's user avatar
  • 5,177
1 vote
1 answer
263 views

Conditionally loading a terminal or cli with node.js

I've been working a side project recently, when ever I have time, to make a small script that determines what Command Line Interface to load using node.js and its ...
user avatar
6 votes
1 answer
81 views

A node CLI to start new projects

I was annoyed to manually start new projects each time so I made a Node CLI that automate the process. I'm really not comfortable yet with node, so I wanted some advice. It works but I don't know if I ...
Ced's user avatar
  • 199
2 votes
0 answers
695 views

Node JS Beginner's CLI Game of Life

I have finished writing my first Node.js app: a CLI app that runs Conway's Game of Life. I am looking for feedback on things that might not have been done the "Node.js way" and what I can do to better ...
cjweiner's user avatar

15 30 50 per page