Types to work with yaml/yml files on typescript projects
MIT License
@yaml-js/typescript
is a comprehensive library that provides TypeScript types for importing *.yaml
and *.yml
files, along with a TypeScript language service plugin to enable IntelliSense for YAML files.
*.yaml
and *.yml
files with TypeScript types.To install @yaml-js/typescript
, you can use either npm or yarn:
npm install @yaml-js/typescript --save-dev
or
yarn add -D @yaml-js/typescript
To enable the TypeScript language service plugin, add the following to your tsconfig.json:
{
"compilerOptions": {
"plugins": [
{
"name": "@yaml-js/typescript"
}
]
}
}
We welcome contributions to the any project at YAML-JS! To get started:
git clone https://github.com/yaml-js/typescript.git
git checkout -b feature-name
yarn pre-commit
Please ensure your code adheres to the project's coding standards and includes appropriate tests (note that code coverage minimum threshold is set to 80%).
This project is licensed under the MIT License. See the LICENSE file for more information.
If you have any questions, suggestions, or feedback, feel free to open an issue.