mongoose-zod
A library which allows to author mongoose ("a MongoDB object modeling tool") schemas using zod ("a TypeScript-first schema declaration and validation library").
파일 탐색기
최종 버전 다운로드 (.zip)- settings.json
- model-instance-type.png
- ts-jest+29.1.2.patch
- errors.ts
- extensions.ts
- index.ts
- mongoose-helpers.ts
- mz-types.ts
- setup.ts
- to-mongoose.ts
- types.ts
- utils.ts
- zod-helpers.ts
- gen-timestamps.test.ts
- mongoose-types.test.ts
- plugins.test.ts
- schema-options.test.ts
- schema-shape.test.ts
- setup.test.ts
- setup.ts
- shared.ts
- type-options-mz.test.ts
- type-options.test.ts
- validation.test.ts
- virtuals.test.ts
- .editorconfig
- .eslintignore
- .eslintrc.cjs
- .gitignore
- .prettierignore
- .prettierrc.json
- CHANGELOG.md
- jest.config.cjs
- LICENSE.md
- package-lock.json
- package.json
- README.md
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/andreww2012/mongoose-zod
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd mongoose-zod
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm i mongoose-zod
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm i mongoose-zod
이 명령어를 터미널에 그대로 입력해 실행하세요.
yarn add mongoose-zod
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
