Giter Club home page Giter Club logo

cli_typscripit_nodejs_javascript_based-dice-roll-guess-game's Introduction

This is the Source code of Node js and Typescript/javascript Based Dice ROll guessing game Runs on the Command line Interface , its package Also published at NPM Marketplace. to run calculator do :

USED PAKCAGES : Inquirer , Chalk , Chalk-Animation , Gradient-string , Nanospinner , Prompt-sync , figlet , random-int image image

  1. (npm i type-script-dice-guess-game)

  2. (npx ahdgame)

  3. initialized typescript enviroment through (npx tsc -init)

  4. intialized node js enviroment (npm init -yes)

  5. (npm i chalk)

  6. (npm i chalk-animation)

  7. (npm i inquirer)

  8. (npm i nanospinner)

  9. (npm install typescript --save-dev)

  10. (npm i -g typescript)

  11. (npx tsc --init)

  12. (npm i ts-node-dev)

  13. (npm install nodemon --save-dev)

  14. (npm install @types/node --save-dev)

15)Add .js file with this at top : #! /usr/bin/env node

16)setup Json file(example) :

"bin": { "multiply": "bin/index.js" },

17)Test package locally(for example :

npx multiply

  1. (npm i --save-dev @types/prompt-sync)

  2. (npm i --save-dev @types/figlet)

  3. (npm i --save-dev @types/gradient-string)

21)create or login your npm account

(npm login)

22)publish your package (npm publish)

cli_typscripit_nodejs_javascript_based-dice-roll-guess-game's People

Contributors

ansari1120 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.