# jsfun.ir

> JavaScript the Fun Part

Latest version **1.0.8** (published 2019-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install jsfun.ir
pnpm add jsfun.ir
yarn add jsfun.ir
bun add jsfun.ir
```

## 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.8 |
| Published | 2019-06-24 |
| First published | 2019-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 74.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Shakiba Moshiri |
| Maintainers | shakibamoshiri |
| Keywords | js, javascript, nodejs, blog |

## Links

- npm: https://www.npmjs.com/package/jsfun.ir
- Repository: https://github.com/k-five/jsfun.ir
- Homepage: https://github.com/k-five/jsfun.ir#readme
- Issues: https://github.com/k-five/jsfun.ir/issues
- npm.io page: https://npm.io/package/jsfun.ir

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.8 (latest) — 2019-06-24
- 1.0.7 — 2019-06-23
- 1.0.6 — 2019-06-23
- 1.0.5 — 2019-06-22
- 1.0.4 — 2019-06-13
- 1.0.3 — 2019-06-01
- 1.0.2 — 2019-06-01
- 1.0.1 — 2019-05-30
- 1.0.0 — 2019-05-30

## README

<h1 align="center">jsfun.ir</h1>

<p>The main repository for <a target="_blank" href="http://jsfun.ir">jsfun.ir</a></p>
<p>Anyone can clone / fork and then add more posts to it.</p>
<p>Before doing it you will need <a target="_blank" href="https://github.com/k-five/nodepost">nodepost</a> application to handle dependencies.</p>

<h1 align="center">Instruction</h1>


 1. `git clone http://github.com/k-five/nodepost`
 2. `cd nodepost`
 3. again: `git clone https://github.com/k-five/jsfun.ir home`
 4. `rm -f database`
 5. `mv home/database .`
 6. `npm install`
 7. `./node-dev nodepost`
 8. open `localhost:1400`

This is what we did:

 1. we cloned the application (= nodepost) for managing our blog.
 2. then `cd` to **nodepost**.
 3. then cloning the blog we want which here is <a target="_blank" href="http://jsfun.ir">jsfun.ir</a>.
 4. removing the default **database** we no longer need it.
 5. Then adding **jsfun.ir**'s database to the application.
 6. Then install applicatoin dependencies using `npm`.
 7. Then running the nodepost application
 8. Finally see it live.

Or using `npm`

 1. `git clone https://github.com/k-five/nodepost` | clone the application
 2. `cd nodepost` | changing Working Directory
 3. `npm install jsfun.ir` | installing **jsfun.ir** blog
 4. `mv node_modules/jsfun.ir home` | moving+renaming it to Current Working Directory
 5. `rm -fr database` | deleting the default **database**
 6. `mv home/database .` | moving jsfun.ir's database to CWD
 7. `npm install` | installing dependencies
 8. `./node-dev nodepost.js` | run the application
 
The directory structure will be like this:

```bash
nodepost                    # nodepost application
├── build
├── database                # database we pulled out of jsfun.ir
├── database-manager
├── error-page
├── home                    # jsfun.ir, which we renamed it to home
├── main-html
├── node_modules
├── path-manager
├── public
├── route-manager
├── script
├── src
├── test
└── vendor

14 directories
```

If everything goes well, we will get:

```bash
$ ./node-dev nodepost.js
ENOENT: no such file or directory, open '/var/www/html/ir/nodepost/database/stat.json'
Create: stat.json
ENOENT: no such file or directory, open '/var/www/html/ir/nodepost/database/route.dirs'
Create: route.dirs
Create: main-html/
posts.json md5: 21646e71bd20486f9e593a7bea55997c
route.dirs md5: 74e6f7298a9c2d168935f58c001bad88
Server is running at http://localhost:1400/
H-Link: ./home/database/posts.json
H-Link: ./home/database/user.json
Update: route.dirs ...
Update: route.link ...
Update: route.path ...
```

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