All Questions
Tagged with console javascript
25
questions
4
votes
1
answer
93
views
rock paper scissors game in console
I've made a simple rock paper scissors game using javascript. Any feedback appreciated. This is a first project I've done with almost no help
...
1
vote
1
answer
75
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 ...
4
votes
1
answer
395
views
Inspect console directly on a web page
Occasionally, I do some web dev on computers where "inspect" is disabled, which can make debugging JavaScript (a language that is really good at dodging errors) a real pain.
I've created a ...
2
votes
1
answer
60
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 ...
3
votes
1
answer
48
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 ...
9
votes
1
answer
69
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 ...
2
votes
0
answers
47
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 ...
5
votes
1
answer
1k
views
Caesar Cipher [The Odin Project-Javascript Exercise]
Very new to coding, so please don't bully me.
Implement the legendary caesar cipher:
In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, ...
3
votes
1
answer
205
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 ...
5
votes
3
answers
166
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 ...
1
vote
1
answer
83
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 <...
2
votes
1
answer
1k
views
JS Procedural Hangman
I wrote a procedural version of Hangman (very basic) and would appreciate some feedback on the following points:
Is the basic logic OK? Any obvious improvements?
Any details or matters of style I ...
4
votes
1
answer
1k
views
Tic Tac Toe in Browser Console
Anyone remember "War games?"
I have a very long way to go, but I thought it would be interesting to make a version of Tic Tac Toe which plays itself. At present the AI is "choose a random available ...
4
votes
1
answer
431
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 ...
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.
...