fastify-example-twitter | Fastify example - clone twitter
kandi X-RAY | fastify-example-twitter Summary
kandi X-RAY | fastify-example-twitter Summary
The aim of this project is to show how fastify can be used. NB: This project should be considered WIP and it does not reflect the best way we think fastify should be used, but it's rather an experiment to help driving fastify.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fastify-example-twitter
fastify-example-twitter Key Features
fastify-example-twitter Examples and Code Snippets
Community Discussions
Trending Discussions on fastify-example-twitter
QUESTION
I am trying to figure out how the https://github.com/fastify/fastify-example-twitter/blob/master/package.json works.
Specifically, it has a script entry as: "start": "fastify index.js"
.
However, there is no requirement to install fastify
globally. Nonetheless, npm start
is working fine. It does start fastify
, while doing it from the shell results in: -bash: fastify: command not found
What is happening when npm start
is invoked? Why I cannot run this from the command line, while npm
runs this script command just fine.
ANSWER
Answered 2018-Apr-17 at 19:42fastify
is listed as a dependency, and as such can be ran as an npm script. The same goes for mocha
, standard
, and snazzy
. None of them need to be globally installed, but are ran via their npm scripts.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fastify-example-twitter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page