create-yamlresume helps you create a new YAMLResume project with a one-liner command.
With npx:
npx create-yamlresume my-resume
With npm:
npm init yamlresume my-resume
With yarn:
yarn create yamlresume my-resume
With pnpm:
pnpm create yamlresume my-resume
This tool will:
package.json with YAMLResume dependency and useful scripts.gitignore file with appropriate excludesREADME.md with basic usage instructionsyamlresume newThe generated project will have:
my-resume/
├── package.json # Project configuration with yamlresume dependency
├── .gitignore # Git ignore rules
├── README.md # Project documentation
└── resume.yml # Your YAML resume (filename you choose)
In the generated project, you can run:
npm run build - Build your resume to PDFnpm run dev - Watch for changes and rebuild automaticallynpm run validate - Validate your resume against the schemanpm run yamlresume - Run the YAMLResume CLI