open-index/open-npm huggingface dataset:
npm package: @mvc-works/clojars-outdated
Description: Clojars Outdated ----
Author: jiyinyiyong
Latest version: 0.1.7


Clojars Outdated
----

> CLI tool for checking outdated Clojars dependencies from `shadow-cljs.edn`.

### Usage

![](https://img.shields.io/npm/v/@mvc-works/clojars-outdated.svg?label=clojars-outdated)

```bash
$ yarn global add @mvc-works/clojars-outdated
$ clojars-outdated
Reading shadow-cljs.edn
>>>>>>>>>>>> cost 15.156s to check.

These packages are up to date: mvc-works/hsl mvc-works/shell-page cumulo/recollect cumulo/reel cumulo/util respo/ui respo/feather respo/message cirru/bisection-key

Outdated packages:
mvc-works/ws-edn   0.1.2 -> 0.1.3
respo              0.10.2 -> 0.10.9
respo/alerts       0.3.10 -> 0.3.11

Not able to check: org.clojure/core.incubator
$
```

"Replace mode" to replace version numbers directly if detected:

```bash
replace=true clojars-outdated
```

Wait for a minute, network could be slow:

```bash
wait=true clojars-outdated
```

To check if CLI outdated:

```bash
npm=true clojars-outdated
```

### License

MIT
npm package: @mvc-works/codearea
Description: Web app scaffold based on Webpack
Author: jiyinyiyong
Latest version: 0.0.4


Codearea Script
----

> Make `<textarea/>`s a bit like `<codearea/>`.

### Usage

![](https://img.shields.io/npm/v/@mvc-works/codearea.svg)

```bash
yarn add @mvc-works/codearea
```

Put the `textareaEditor.js` file in the `<script>` tag of your page.
Suppose there's tag `<textarea id='area'>` here, use this in your `.js` file:

```coffee
import { codearea } from "@mvc-works/codearea"

codearea(textareaElement)

# remove events
teardownCodearea(textareaElement)
```

Try here: http://repo.mvc-works.org/codearea/

### Details

influenced shortcuts:

```
enter
tab
esc
backspace
quote
brackets

shift enter
shift tab

ctrl l
ctrl u
ctrl k
ctrl enter

ctrl shift enter
ctrl shift k
ctrl shift d
ctrl shift up
ctrl shift down
```

### Use in Respo

It can be used in Respo Effects:

```clojure
(defeffect
 effect-codearea
 ()
 (action el)
 (when (= action :mount) (let [target (.querySelector el ".codearea")] (codearea target))))
```

> Notice: a bug that codearea does not emit enough `input` events.

### Chinese Docs

上面`JS`的目标是给`<textarea>`标签增加基本的编程功能支持,
主要是一些快捷键, 模仿`Sublime Text`的功能, 还有自动补全括号和缩进,
具体可以到链接尝试, 在`Chrome`中运行测试运行正常,
主要是__获取光标位置的`API`__和__绑定键盘事件的`API`__有差别.
大致思路是用`wrap_text`函数将文本框内容包装成按列处理的对象,
之后通过事件触发`map_keys`选取对应的`key_*`函数处理对象的内容,
最后`write_text`将对象转化回到文本写入.

性能能再优化下, 不清楚对于长文本是否会有延迟, 目前还可以,
`departed_files`是前期的代码, 有些历史文档, 但不再被维护.

### License

MIT
npm package: @mvc-works/edn-loader
Description: Webpack loader for EDN files
Author: jiyinyiyong
Latest version: 0.1.2


EDN loader for Webpack
----

> based on [`@mvc-works/edn2json`](https://github.com/mvc-works/edn2json).

### Usage

```bash
npm install @mvc-works/edn-loader
```

```js
{ test: /\.edn$/, use: '@mvc-works/edn-loader' }
```

## License

MIT
npm package: @mvc-works/edn2json
Description: Convert EDN to JSON in JavaScript
Author: jiyinyiyong
Latest version: 0.1.0


edn2json
----

> small scripts to convert between **EDN string** and JSON data. based on [`jsedn`](https://github.com/mvc-works/edn2json).

> Notice: the core logics is not robust. Use `jsedn` if you have to keep stable. Checkout tests for details.

### Usage

```bash
npm install @mvc-works/edn2json
```

```js
let {edn2json, json2edn} = require('@mvc-works/edn2json')

json2edn({a: 1, "b?": 2}) // '{:a 1 :b? 2}'
edn2json('{:a 1 :b [2 :x]}') // {a: 1, b: [2, 'x']}
```

Conventions:

* when converting to JSON, `:keyword` drops `:`s.
* when converting to EDN, only keys match `/^[a-z][a-z-]*[\?\!]?$/` turned into keywords.

### License

MIT