Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
turivishal committed Dec 28, 2020
1 parent 9a29c5d commit 66c1a65
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Version](https://img.shields.io/github/v/release/turivishal/mongoose-schema-clone)](https://github.com/turivishal/mongoose-schema-clone/tree/0.0.10)
[![Version](https://img.shields.io/github/v/release/turivishal/mongoose-schema-clone?color=red&label=npm)](https://www.npmjs.com/package/mongoose-schema-clone)

# Mongoose Schema Clone

Deep clone and Returns a copy of the schema, Adds key path / schema type pairs to this schema and You can also add another schema and copy over all paths, virtuals, getters, setters, indexes, methods, and statics.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongoose-schema-clone",
"version": "0.0.9",
"version": "0.0.10",
"description": "Clone mongoose schema to new schema",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -29,8 +29,5 @@
},
"dependencies": {
"mongoose": "*"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/turivishal"
}
}

0 comments on commit 66c1a65

Please sign in to comment.