Skip to content

Migrate from js-yaml to yaml #273

Description

@gameroman

See https://replacements.fyi/js-yaml and e18e/module-replacements#197

Dependents: https://dependents.dev/?package=js-yaml

Dependents

# Downloads/month Traffic Version Package
1 265.02M 86.84 TB ^4.1.0 cosmiconfig
2 214.96M 70.44 TB ^4.1.1 @eslint/eslintrc
3 103.84M 34.03 TB ^3.13.1 @istanbuljs/load-nyc-config
4 37.55M 12.31 TB ^4.1.0 mocha
5 27.33M 8.96 TB ^4.2.0 @apidevtools/json-schema-ref-parser
6 22.30M 7.31 TB ^3.10.0 @yarnpkg/parsers
7 16.89M 5.53 TB ^3.13.1 front-matter
8 11.54M 3.78 TB 4.1.1 @nestjs/swagger
9 10.18M 3.34 TB ^4.1.1 read-yaml-file
10 10.10M 3.31 TB ^4.2.0 @redocly/openapi-core
11 9.59M 3.14 TB ^3.13.1 gray-matter
12 9.56M 3.13 TB 4.1.1 pm2
13 9.52M 3.12 TB ^4.0.0 @graphql-tools/prisma-loader
14 8.81M 2.89 TB ^4.1.1 @datadog/wasm-js-rewriter
15 7.13M 2.34 TB ^4.1.1 xmlbuilder2
16 6.97M 2.28 TB ^4.1.0 @expo/xcpretty
17 6.23M 2.04 TB ^3.13.1 tslint
18 6.01M 1.97 TB ^4.1.0 load-yaml-file
19 5.11M 1.67 TB ^4.1.1 @changesets/parse
20 5.08M 1.67 TB 4.1.1 lerna
21 4.87M 1.60 TB 4.1.1 @lerna/create
22 4.82M 1.58 TB ^3.14.1 depcheck
23 4.45M 1.46 TB ^4.1.0 json-schema-to-typescript
24 4.11M 1.35 TB ^4.1.1 rc-config-loader
25 4.02M 1.32 TB ^4.1.0 @kubernetes/client-node
26 3.66M 1.20 TB ^4.1.1 @astrojs/internal-helpers
27 3.54M 1.16 TB ^3.14.1 aws-lambda
28 3.41M 1.12 TB ^3.13.1 json-refs
29 3.31M 1.08 TB ^4.1.1 astro
30 3.18M 1.04 TB ^4.1.0 builder-util
31 3.16M 1.03 TB ^4.1.0 @serverless/utils
32 3.15M 1.03 TB ^4.1.0 app-builder-lib
33 3.04M 996.09 GB ^3.13.1 istanbul-api
34 2.97M 971.79 GB ^4.2.0 firebase-tools
35 2.93M 959.79 GB ^3.14.2 @pulumi/pulumi
36 2.91M 955.15 GB ^4.1.0 dmg-builder
37 2.89M 947.19 GB ^4.1.1 @textlint/linter-formatter
38 2.88M 943.68 GB ~3.14.0 grunt
39 2.76M 902.86 GB ^4.1.1 @langchain/community
40 2.66M 872.86 GB ^4.1.0 @serverless/dashboard-plugin
41 2.50M 819.41 GB 4.1.1 @turbo/workspaces
42 2.47M 809.38 GB ^3.13.1 cli-ux
43 2.46M 804.58 GB ^3.14.1 @serverless/platform-client
44 2.42M 793.57 GB 4.1.1 @hey-api/json-schema-ref-parser
45 2.38M 779.97 GB ^3.13.1 coveralls
46 2.22M 727.17 GB ^4.2.0 swagger-client
47 2.21M 722.69 GB ^4.1.1 write-yaml-file
48 2.16M 706.52 GB ^4.1.0 @rollup/plugin-yaml
49 2.15M 703.09 GB ^4.1.0 google-artifactregistry-auth
50 2.07M 678.25 GB ^4.1.1 @asyncapi/parser
51 1.99M 652.67 GB ^4.1.0 electron-updater
52 1.96M 641.64 GB ^4.1.0 @docusaurus/utils
53 1.94M 635.63 GB 4.2.0 orval
54 1.91M 625.45 GB ^4.1.0 @docusaurus/utils-validation
55 1.87M 613.08 GB ^4.1.1 @cypress/code-coverage
56 1.86M 608.31 GB ^3.13.1 @lhci/utils
57 1.85M 607.40 GB ~4.2.0 markdownlint-cli
58 1.81M 593.67 GB ^4.1.0 @docusaurus/plugin-content-docs
59 1.67M 547.71 GB ^4.1.0 @lerna/project
60 1.42M 466.90 GB ^4.1.1 react-diff-viewer-continued
61 1.41M 462.68 GB ^4.2.0 @napi-rs/cli
62 1.39M 455.39 GB ^4.1.0 i18next-parser
63 1.39M 454.51 GB ^3.14.1 supertap
64 1.37M 448.64 GB =4.1.1 swagger-ui-react
65 1.36M 444.76 GB 3.14.1 codecov
66 1.26M 413.22 GB ^4.1.0 read-config-file
67 1.14M 373.70 GB npm:@zkochan/js-yaml@0.0.7 @pnpm/lockfile-file
68 1.13M 370.67 GB 4.1.1 @sap-ux/ui5-config
69 1.11M 363.66 GB 4.2.0 @mdxeditor/editor
70 1.02M 334.48 GB ^3.14.0 ajv-cli
71 993.69k 325.62 GB 4.1.1 markdownlint-cli2
72 953.80k 312.55 GB 4.1.1 @verdaccio/config
73 946.69k 310.22 GB ~4.1.0 @microsoft/rush-lib
74 881.18k 288.75 GB ^4.2.0 oas-normalize
75 871.97k 285.73 GB ^4.1.1 @splitsoftware/splitio
76 818.40k 268.18 GB ^4.1.0 browserstack-node-sdk
77 783.75k 256.82 GB ^4.1.0 @bcherny/json-schema-ref-parser
78 754.45k 247.22 GB ^4.1.0 @readme/postman-to-openapi
79 742.63k 243.35 GB ^4.2.0 fumadocs-core
80 716.32k 234.73 GB ^3.14.0 openapi-merge-cli
81 714.16k 234.02 GB ^3.14.0 @apidevtools/swagger-cli
82 682.31k 223.58 GB ^4.1.1 testem
83 623.11k 204.18 GB ^3.7.0 js-yaml-cloudformation-schema
84 619.12k 202.88 GB ^4.1.0 autoevals
85 617.10k 202.21 GB ^4.2.0 @ui5/project
86 588.36k 192.80 GB ^3.14.1 @rails/webpacker
87 572.73k 187.68 GB ^4.1.0 svg-sprite
88 568.77k 186.38 GB ^4.1.0 yaml-lint
89 565.92k 185.45 GB ^4.2.0 fumadocs-mdx
90 559.70k 183.41 GB ^4.1.0 @readme/json-schema-ref-parser
91 559.49k 183.34 GB ^4.1.0 @okta/okta-sdk-nodejs
92 547.46k 179.39 GB ^4.1.0 shakapacker
93 535.05k 175.33 GB 4.1.1 @sap-ux/adp-tooling
94 528.28k 173.11 GB ^4.1.0 @backstage/core-components
95 522.40k 171.18 GB 3.x sc-istanbul
96 516.42k 169.22 GB ^3.14.1 artillery
97 476.53k 156.15 GB 4.1.0 openapi-to-postmanv2
98 474.60k 155.52 GB 3.13.1 @vercel/frameworks
99 458.76k 150.33 GB ^4.1.0 @cloudflare/next-on-pages
100 437.64k 143.41 GB ^4.1.0 @genkit-ai/tools-common
101 437.58k 143.39 GB ^4.1.0 package-manager-manager
102 431.71k 141.46 GB ^4.1.0 check-dependency-version-consistency
103 416.47k 136.47 GB ^4.1.0 @intlify/eslint-plugin-vue-i18n
104 414.82k 135.93 GB =4.1.1 swagger-ui
105 412.54k 135.18 GB 3.13.1 kubebox
106 407.79k 133.63 GB ^4.1.1 @11ty/eleventy
107 404.22k 132.46 GB 4.1.0 @vercel/fs-detectors
108 399.00k 130.75 GB ^4.0.0 amplify-codegen
109 387.99k 127.14 GB ~4.1.0 @microsoft/api-documenter
110 386.22k 126.56 GB ^4.1.0 snyk-nodejs-lockfile-parser
111 384.63k 126.04 GB ^4.2.0 @ui5/cli
112 377.24k 123.62 GB ^4.1.1 @google-automations/git-file-utils
113 377.01k 123.54 GB ^4.1.1 @astrojs/starlight
114 368.88k 120.88 GB ^4.1.0 @intlify/vue-i18n-loader
115 367.68k 120.48 GB ^4.2.0 workspace-tools
116 357.72k 117.22 GB ^4.1.0 documentation
117 343.23k 112.47 GB ^4.1.1 @usebruno/cli
118 332.53k 108.97 GB ^3.13.1 js-yaml-loader
119 331.21k 108.53 GB ^4.2.0 rdme
120 327.48k 107.31 GB ^4.1.0 solhint
121 326.43k 106.97 GB ^3.14.0 ramldt2jsonschema
122 318.84k 104.48 GB ^4.0.0 @backstage/plugin-techdocs-node
123 318.48k 104.36 GB ^4.1.0 flow-typed
124 308.58k 101.12 GB ^4.1.0 @asyncapi/raml-dt-schema-parser
125 300.86k 98.59 GB 4.1.0 @sap/adp-common
126 300.74k 98.55 GB 4.1.0 @sap/adp-cf
127 297.14k 97.37 GB ^4.1.1 @usebruno/converters
128 294.76k 96.59 GB ~3.4.0 jscs
129 294.62k 96.54 GB 4.1.1 wgc
130 284.24k 93.14 GB ^4.1.1 promptfoo
131 283.11k 92.77 GB ^4.0.0 release-please
132 281.79k 92.34 GB ^3.5.4 sass-lint
133 274.30k 89.88 GB ^4.1.0 @tamagui/static
134 272.48k 89.29 GB ^4.1.0 api
135 267.25k 87.57 GB ^3.8.3 yml-loader
136 260.66k 85.42 GB ^4.0.0 @microsoft/teamsfx-core
137 259.38k 85.00 GB ^4.0.0 yaml-cfn
138 259.18k 84.93 GB 4.1.1 @mintlify/common
139 256.07k 83.91 GB ^3.14.1 yaml-front-matter
140 255.56k 83.74 GB ^4.1.1 @asyncapi/generator
141 252.38k 82.70 GB 4.1.1 @mintlify/validation
142 248.66k 81.48 GB ^3.13.1 @dependabot/yarn-lib
143 247.41k 81.07 GB ^4.1.0 @asyncapi/modelina
144 246.90k 80.91 GB ~4.1.0 @azure-tools/codegen
145 246.88k 80.90 GB 4.1.0 @modyfi/vite-plugin-yaml
146 240.35k 78.76 GB 4.1.1 @mintlify/previewing
147 239.33k 78.42 GB 4.1.1 @mintlify/cli
148 237.97k 77.98 GB ^4.1.0 vue-i18n-extract
149 237.18k 77.72 GB 4.1.1 @mintlify/prebuild
150 237.09k 77.69 GB 4.1.1 @mintlify/scraping
151 235.19k 77.07 GB ^4.1.0 osls
152 233.84k 76.62 GB ^4.1.0 @graphql-mesh/utils
153 232.47k 76.18 GB ^4.1.0 openapi-diff
154 229.96k 75.35 GB ^3.13.1 @serverless/core
155 228.35k 74.83 GB ^4.1.0 @pulumi/eks
156 227.83k 74.66 GB ^4.1.0 yarn-audit-fix
157 227.54k 74.56 GB ^4.0.0 @aws-amplify/amplify-cli-core
158 226.37k 74.18 GB ^3.14.1 @serverless/components
159 223.92k 73.38 GB ^3.14.0 @serverless/platform-client-china
160 221.84k 72.70 GB ^4.0.0 ember-exam
161 218.37k 71.56 GB ^4.1.0 @microsoft/m365-spec-parser
162 206.26k 67.59 GB ^3.13.1 @vuepress/core
163 205.85k 67.45 GB 4.1.0 load-grunt-config
164 201.92k 66.17 GB ~4.1.0 @autorest/codemodel
165 201.45k 66.01 GB ^4.0.0 @aws-amplify/amplify-category-api
166 199.13k 65.25 GB ~4.1.0 @autorest/extension-base
167 190.20k 62.33 GB ^4.1.1 rehype-citation
168 185.82k 60.89 GB ^3.2.3 nconf-yaml
169 184.37k 60.42 GB ^4.1.0 prh
170 183.63k 60.17 GB ^3.14.1 @asyncapi/converter
171 182.34k 59.75 GB 4.1.1 @node-red/nodes
172 180.84k 59.26 GB ^3.13.1 snyk-policy
173 180.51k 59.15 GB ^4.1.0 spectaql
174 177.25k 58.08 GB ^4.0.0 applause
175 177.13k 58.04 GB ^4.1.0 hexo
176 176.45k 57.82 GB ^3.13.1 @azure/openapi-markdown
177 175.03k 57.36 GB ^4.1.0 @azure/avocado
178 173.43k 56.83 GB ^4.1.1 @salesforce/code-analyzer-core
179 171.91k 56.33 GB ^3.13.1 expo-cli
180 169.32k 55.48 GB ^4.1.0 @microsoft.azure/openapi-validator
181 168.53k 55.23 GB 0.3.x jxLoader
182 167.19k 54.79 GB ^4.0.0 @vue/cli-ui
183 167.04k 54.74 GB ^4.1.0 oav
184 165.20k 54.13 GB ^4.0.0 @vue/cli
185 165.02k 54.07 GB ^4.2.0 @upptime/graphs
186 164.51k 53.91 GB ^4.1.1 eslint-plugin-project-structure
187 163.74k 53.66 GB ^4.0.0 amplify-cli-core
188 159.54k 52.28 GB ^4.1.0 @azure/oad
189 158.98k 52.10 GB ^4.1.1 vscode-extension-tester
190 157.96k 51.76 GB ~4.1 @antora/playbook-builder
191 157.62k 51.65 GB ^4.1.0 @openapi-codegen/cli
192 157.41k 51.58 GB ^4.0.0 openapi-validator
193 156.60k 51.31 GB ^4.1.1 @testomatio/reporter
194 154.22k 50.54 GB ^4.2.0 auditjs
195 153.70k 50.37 GB ^4.1.1 auth0-deploy-cli
196 151.66k 49.70 GB ^3.14.1 @tinacms/graphql
197 149.07k 48.85 GB ^4.1.0 vite-plugin-generate-file
198 145.35k 47.63 GB ^3.3.1 swagger-tools
199 144.27k 47.28 GB ^4.1.0 diffjam
200 139.40k 45.68 GB ~4.1 @antora/content-aggregator

Another alternative that can be considered is neoyaml, which is a fork of js-yaml, so it is as fast as js-yaml and smaller than js-yaml or yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions