# sdknow1

> For Getting data from jsonplaceHolder by methods (getPosts , getPostById , createPost)

Latest version **1.0.4** (published 2023-03-08) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-03-08 |
| First published | 2023-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Muhammad Fizan Iqbal |
| Maintainers | muhammadfizaniqbal |
| Keywords | jsonplaceholder fetch api data, ts |

## Links

- npm: https://www.npmjs.com/package/sdknow1
- Repository: https://github.com/faizaniqbalLC/sdk-library-code
- Homepage: https://github.com/faizaniqbalLC/sdk-library-code.git#readme
- Issues: https://github.com/faizaniqbalLC/sdk-library-code/issues
- npm.io page: https://npm.io/package/sdknow1

## Dependencies (2)

- [microbundle](https://npm.io/package/microbundle.md) ^0.15.1
- [isomorphic-unfetch](https://npm.io/package/isomorphic-unfetch.md) ^4.0.2

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2023-03-08
- 1.0.3 — 2023-03-08
- 1.0.2 — 2023-03-08
- 1.0.1 — 2023-03-03
- 1.0.0 — 2023-03-03

## README

[![sdknow1](https://i.ibb.co/kSPqvp6/myLogo.png)](#sdknow1)

## [Documentation_Pending](pending)

**Installing sdknow1**

With NPM:

```bash
$ npm install sdknow1
```

You can install Node.js easily with [NVM](https://github.com/nvm-sh/nvm#installing-and-updating) or [ASDF](https://blog.natterstefan.me/how-to-use-multiple-node-version-with-asdf).

Sdk-now1 is a software-development-kit for getting a single post by id,getAllPosts,and createPost in jsonplaceholder api with a built-in load balancer.

**Use case ( How you can use this package )**

```jsx
import Typicode from "sdknow1";
const client = new Typicode({
  apiKey: "123",
});

client.getPosts().then((res) => {
  // this code shall show you all jsonplaceholder posts
  console.log(res);
});
client.getPostById(1).then((res) => {
  // this function shall show you only post according to id that you passed.
  console.log(res);
});

client
  .createPost({
    title: "fizanTest",
    body: "This testing phase is going well.",
    userId: 1,
  })
  .then((p) => {
    console.log(`Created new post with id ${p.id}`);
    // this function shall createPost according to passed data
  });
```

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