{"library":"vuex-orm-plugin-date-attribute","type":"library","category":null,"description":"A plugin for Vuex-ORM that adds a `date` attribute type to model fields, automatically converting string/number values to JavaScript Date objects. Current stable version is 0.1.1. The plugin extends Vuex-ORM's field definition API with `this.date()` and handles serialization/deserialization. It is lightweight and has no runtime dependencies beyond Vuex-ORM. Unlike manual field transforms, it provides a declarative way to handle date attributes within Vuex-ORM's data layer.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript","vue","vuex","vuex-plugin","vuex-orm","vuex-orm-plugin","date","datetime"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install vuex-orm-plugin-date-attribute","imports":["import datePlugin from 'vuex-orm-plugin-date-attribute'","class User extends Model { static fields() { return { last_login: this.date(null) } } }","VuexORM.use(datePlugin)"]},{"cmd":"yarn add vuex-orm-plugin-date-attribute","imports":[]},{"cmd":"pnpm add vuex-orm-plugin-date-attribute","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"vuex-orm-plugin-date-attribute","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}