# helloworld_ankit

> > This project is intended to be used as assignment as to how one would document and test their code and check the coverage of the source code to then turn into API Documentation.

Latest version **1.0.0** (published 2020-10-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install helloworld_ankit
pnpm add helloworld_ankit
yarn add helloworld_ankit
bun add helloworld_ankit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-10-12 |
| First published | 2020-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | anku9308 |

## Links

- npm: https://www.npmjs.com/package/helloworld_ankit
- npm.io page: https://npm.io/package/helloworld_ankit

## Dependencies (2)

- [swagger-jsdoc](https://npm.io/package/swagger-jsdoc.md) ^4.2.0
- [swagger-ui-express](https://npm.io/package/swagger-ui-express.md) ^4.1.4

## Recent versions

- 1.0.0 (latest) — 2020-10-12

## README

# Testing,Documenting,and Linting an API With Jest,JsDoc,Eslinting,Swagger-jsDoc
> This project is intended to be used as assignment as to how one would document and test their code and check the coverage of the source code to then turn into API Documentation.


## Table of Contents

1. [Installation](#1-installation)
2. [Testing](#2-testing)
3. [Building the Documentation](#3-build-the-documentation)
4. [Release History](#4-release-history)


## 1. Installation

Setup a new or existing npm package
```sh
npm -init -y
```

Install the Jest dependency: it is for unit testing of our project
```sh
npm i -D jest
```
Install the Jsdoc dependency: it is for documenting our code
```sh
npm i -D jsdoc
```
Install the axios dependency: Axios is a Javascript library used to make HTTP requests from node.js or XMLHttpRequests from the browser that also supports the ES6 Promise API.
```sh
npm i -D axios
```
Install the Swagger-JsDoc and Swagger-ui dependency: it is for api documentation
```sh
npm i -D swagger-jsdoc swagger-ui-express
```
Install the eslint: it is for format the code in standard manner and remove some common error on its own
```sh
npm i -D eslint
```
## 2. Testing

Testing the project arithmetic
```sh
npm run test
```

## 3. Building the Documentation

Build the jsdoc documentation from the source code
```sh
npm run doc
```

## 4. Release History

* 0.0.1
    * Initial release

---
_Source: https://npm.io/package/helloworld_ankit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
