Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksxgithub/simple-js-yaml-port-for-deno
This is a simple and crude port of JS-YAML for Deno.
https://github.com/ksxgithub/simple-js-yaml-port-for-deno
deno javascript js-yaml library port typescript yaml
Last synced: 15 days ago
JSON representation
This is a simple and crude port of JS-YAML for Deno.
- Host: GitHub
- URL: https://github.com/ksxgithub/simple-js-yaml-port-for-deno
- Owner: KSXGitHub
- License: mit
- Created: 2020-04-01T23:02:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-07T17:21:52.000Z (almost 3 years ago)
- Last Synced: 2024-12-17T16:13:45.518Z (19 days ago)
- Topics: deno, javascript, js-yaml, library, port, typescript, yaml
- Language: JavaScript
- Homepage: https://deno.land/x/js_yaml_port
- Size: 51.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Simple JS-YAML port for Deno
This is a simple and crude port of [JS-YAML](https://github.com/nodeca/js-yaml) for [Deno](https://deno.land).
## Usage
Just import `js-yaml.js` file. For example:
```typescript
import { load } from 'https://deno.land/x/js_yaml_port/js-yaml.js'
console.log(load('hello: world')) // => prints { hello: "world" }
```## API References
Just use [JS-YAML repo](https://github.com/nodeca/js-yaml#api) for references.
## Development
### Required tools
* [`node`](https://nodejs.org) to run package manager.
* [`pnpm`](https://pnpm.js.org) to install npm packages.
* [`deno`](https://deno.land) to build and test.
* `cp`.
* `make`.### Build and Test
#### Build
```sh
make js-yaml.js
```#### Test
```sh
make test
```## License
[MIT](https://git.io/JvdHV) © [Hoàng Văn Khải](https://github.com/KSXGitHub/)