المشاريع
عرض على GitHub
nodeca/js-yaml
حول
محلل YAML ومولّد له بلغة JavaScript. سريع جدًا.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- -١
- خلال 15 يومًا
- -١
- خلال شهر
- ٠
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلjs-yaml
YAML 1.2 parser and serializer for JavaScript.
- Supports the YAML 1.2 and YAML 1.1 specifications.
- Passes the entire YAML Test Suite.
Documentation >>
Install
npm install js-yaml
Usage
import { load } from 'js-yaml'
try {
const document = load('greeting: hello')
console.log(document.greeting)
} catch (e) {
console.error(e)
}
import { dump } from 'js-yaml'
const source = dump({ greeting: 'hello' })
console.log(source)
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…