Skip to content

jorgecuesta/mongoose-locale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mongoose-locale

You can use this plugin when you need to use field for multiple languages.

Example

Next schema will be converted

{
	name: { type: String, trim: true, locale: true }
}

into this schema

{
	name: [{
		lg    : { type: String },
		value : { type: String, trim: true }
	}]
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%