{"_id":"@bunnarin/plugin-field-lazy-formula","_rev":"6-cb4a1dbd01e059e1882b9aa45c1ed2aa","name":"@bunnarin/plugin-field-lazy-formula","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@bunnarin/plugin-field-lazy-formula","version":"1.0.0","keywords":["Collection fields"],"license":"Apache-2.0","_id":"@bunnarin/plugin-field-lazy-formula@1.0.0","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"50af36736ccc698b73ce8dc8309e82d3bdbf12d2","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.0.tgz","fileCount":7,"integrity":"sha512-SVs6Nmn3Ut1N1W/yiE0zk4/87VSlwONwyFP03yBJgq4ouMsN3OfnkhD0MWBQb0sKn7e56MdRAFnZsRFWFWz2/g==","signatures":[{"sig":"MEUCIEOktzHaza+tZxIu9yAleSLk7VRDVNKWo8HSkFr89ghFAiEA5pBjW42m3SWeBy0FLD8ZoDrSo3IB2p54deiCpZ2lkwI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13679},"main":"./dist/server/index.js","types":"./dist/server/index.d.ts","gitHead":"a8edb87ff4298fe8a3562ed63dfa8462aef0af6a","scripts":{"start":"node server.js"},"_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions.","directories":{},"displayName":"Collection field: Lazy Formula","_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисление значений формулы при чтении без сохранения в базу данных с поддержкой двух движков: Math.js и Excel formula functions.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"tmp":"tmp/plugin-field-lazy-formula_1.0.0_1782013375518_0.35781115816090314","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bunnarin/plugin-field-lazy-formula","version":"1.0.1","keywords":["Collection fields"],"license":"Apache-2.0","_id":"@bunnarin/plugin-field-lazy-formula@1.0.1","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"bed435f93df04720889ccbb348df08d167a06e36","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.1.tgz","fileCount":7,"integrity":"sha512-w5kpkEsJcXcc2U1KL4k9o2m4/TmG+OexjxwgPgdYSNGoq6HnZBMxQXqgPICkGU4M8Ai5chrebPWCrJSauwjhCQ==","signatures":[{"sig":"MEUCIB7nBhB4Rgy1GXUt8bowt6mG66YXVHnxjLqfIzdsj2znAiEAooLL9uelNMUwDywCDVEMKGcH5UW3JP3e39UK4v8QyS8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13679},"main":"./dist/server/index.js","types":"./dist/server/index.d.ts","gitHead":"d0cec039e72ae9aa2fde96b0f2261c0246e4ac1f","scripts":{"start":"node server.js"},"_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions.","directories":{},"displayName":"Collection field: Lazy Formula","_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисление значений формулы при чтении без сохранения в базу данных с поддержкой двух движков: Math.js и Excel formula functions.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"tmp":"tmp/plugin-field-lazy-formula_1.0.1_1782013834141_0.7811342814801729","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bunnarin/plugin-field-lazy-formula","version":"1.0.2","keywords":["Collection fields"],"license":"Apache-2.0","_id":"@bunnarin/plugin-field-lazy-formula@1.0.2","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"e15bf175d2eb2aa5afc4396755fc691ca126d3d8","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.2.tgz","fileCount":50,"integrity":"sha512-L4BKAk+cAg/cVWDGjL5KXNkfINnknSJbLGB27GOT0hh6s/NFq29zQUSKE5WW0qZR0VD3lqL9ze8bAXDIdbvJYA==","signatures":[{"sig":"MEYCIQDUgIXgVvjFdSsUIW929MuIo2fzMdTQgPnBGRRtnTtoNQIhAP5C+jjFziTCyGkobnmAQyTB7uFjjjhSQg53DDohXeKl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89862},"main":"dist/server/index.js","types":"./dist/server/index.d.ts","gitHead":"d0cec039e72ae9aa2fde96b0f2261c0246e4ac1f","scripts":{"start":"node server.js"},"_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions.","directories":{},"displayName":"Collection field: Lazy Formula","_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисление значений формулы при чтении без сохранения в базу данных с поддержкой двух движков: Math.js и Excel formula functions.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"tmp":"tmp/plugin-field-lazy-formula_1.0.2_1782014463987_0.19825462722315135","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bunnarin/plugin-field-lazy-formula","version":"1.0.3","keywords":["Collection fields"],"license":"Apache-2.0","_id":"@bunnarin/plugin-field-lazy-formula@1.0.3","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"c1897ea32e47c2e17ddf027094a0a6ef14618f8f","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.3.tgz","fileCount":7,"integrity":"sha512-JYYUaexu/uL/iPoia/25lFUcZArBqjuu6RVUyR/rPsjvvQ+QpW3Rh8Ac+sH1htr9sEKvICczF4KPXAF3J/ssfg==","signatures":[{"sig":"MEQCIH5eNrMbi/ywvmROjaLJair5zS7XM9cvRZwIJivQaGCuAiAbQWrHvW3ibs8StzW9hp/aAIBsj91/snnmHjUCY2+ijA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13679},"main":"./dist/server/index.js","types":"./dist/server/index.d.ts","gitHead":"932c1096096e08da9d5bfcd2bc00fa5c4cf53a14","scripts":{"start":"node server.js"},"_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions.","directories":{},"displayName":"Collection field: Lazy Formula","_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисление значений формулы при чтении без сохранения в базу данных с поддержкой двух движков: Math.js и Excel formula functions.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"tmp":"tmp/plugin-field-lazy-formula_1.0.3_1785577274062_0.5350362182584081","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bunnarin/plugin-field-lazy-formula","version":"1.0.4","keywords":["Collection fields"],"license":"Apache-2.0","_id":"@bunnarin/plugin-field-lazy-formula@1.0.4","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"a0a241e78a32bdd2c68aed8f8e7da46c7bea92c2","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.4.tgz","fileCount":50,"integrity":"sha512-WA5EyBC6+fA5WQOvFQPiyU64SCtYeJb/sCdEdMulHJyj5fZ3zxfn6xM2g0ob6kxIVMWThxVqOUTg1lLkvvb45w==","signatures":[{"sig":"MEUCIQCw8fWXUNV4QXKQvcsqaik4nOYahT8+hNfOSMxhSRFUIwIgZ1CwG87L5K3YHnGxNiWDOeavcnFIMWcEJm6eLe7W+9U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96262},"main":"dist/server/index.js","types":"./dist/server/index.d.ts","gitHead":"932c1096096e08da9d5bfcd2bc00fa5c4cf53a14","scripts":{"start":"node server.js"},"_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions or make them filterable by storing as virtual SQL column.","directories":{},"displayName":"Collection field: Lazy Formula","_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисляет значения формул при чтении без сохранения в базу данных, поддерживая как Math.js, так и формульные функции Excel, или делает их фильтруемыми, сохраняя как виртуальный SQL столбец.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎或者通过存储为虚拟 SQL 列使它们可过滤。","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"tmp":"tmp/plugin-field-lazy-formula_1.0.4_1785577483663_0.21125131347133808","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"_id":"@bunnarin/plugin-field-lazy-formula@1.0.5","bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"dist":{"shasum":"e586ac11568ab2da118d9856f39746a4e8515a1d","tarball":"https://registry.npmjs.org/@bunnarin/plugin-field-lazy-formula/-/plugin-field-lazy-formula-1.0.5.tgz","fileCount":50,"integrity":"sha512-JaA+nsL1NxX8/KYNAlYcygO4g70zhyx50/PVVpV3M/hjSochoGMuQjIcFamkUTwCQAzPd43MUvc/eRH/1HX/LQ==","signatures":[{"sig":"MEQCIA+U3vyxlrHatRs0qU9zg+/Qy/jMRnrGW3uiJAO/wYR4AiAsEJo5cF/v8K8PgUYZCLD4DsPk7kIwms6PnUMMYt0CaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJnn0Pf57Xui7SI7JcY9PKVRfKA2Gafk/rfRnwmjwmYAIhAMUf7tatwqomFAjs2DKagvsGd+7H+vMTZB5JB0x36/uF"}],"unpackedSize":96262},"main":"dist/server/index.js","name":"@bunnarin/plugin-field-lazy-formula","types":"./dist/server/index.d.ts","gitHead":"3fef5d9d11fe75fc27747f92fed9331a75eae906","license":"Apache-2.0","scripts":{"start":"node server.js"},"version":"1.0.5","_npmUser":{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"},"homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","keywords":["Collection fields"],"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"_npmVersion":"10.9.2","description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions or make them filterable by storing as virtual SQL column.","directories":{},"displayName":"Collection field: Lazy Formula","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","@formily/core":"2.x","react-i18next":"^11.15.1","@formily/react":"2.x","@formily/antd-v5":"1.x","@formily/reactive":"2.x"},"peerDependencies":{"@nocobase/test":"2.x","@nocobase/utils":"2.x","@nocobase/client":"2.x","@nocobase/server":"2.x","@nocobase/database":"2.x","@nocobase/evaluators":"2.x"},"description.ru-RU":"Вычисляет значения формул при чтении без сохранения в базу данных, поддерживая как Math.js, так и формульные функции Excel, или делает их фильтруемыми, сохраняя как виртуальный SQL столбец.","description.zh-CN":"在读取时计算公式值，不存储到数据库中，支持 Math.js 和 Excel formula functions 两种引擎或者通过存储为虚拟 SQL 列使它们可过滤。","displayName.ru-RU":"Поле коллекции: Ленивая формула","displayName.zh-CN":"数据表字段：懒公式","_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-field-lazy-formula_1.0.5_1790923904231_0.5043972298361903"}}},"time":{"created":"2026-06-21T03:42:55.359Z","modified":"2026-10-02T06:51:44.484Z","1.0.0":"2026-06-21T03:42:55.662Z","1.0.1":"2026-06-21T03:50:34.285Z","1.0.2":"2026-06-21T04:01:04.123Z","1.0.3":"2026-08-01T09:41:14.240Z","1.0.4":"2026-08-01T09:44:43.807Z","1.0.5":"2026-10-02T06:51:44.331Z"},"bugs":{"url":"https://github.com/bunnarin/plugin-field-lazy-formula/issues"},"license":"Apache-2.0","homepage":"https://github.com/bunnarin/plugin-field-lazy-formula#readme","keywords":["Collection fields"],"repository":{"url":"git+https://github.com/bunnarin/plugin-field-lazy-formula.git","type":"git"},"description":"Compute formula values on read without storing in the database, supporting both Math.js and Excel formula functions or make them filterable by storing as virtual SQL column.","maintainers":[{"name":"bunnarin","email":"chrunbunnarin857@gmail.com"}],"readme":"# differences from the @nocobase/plugin-field-formula\r\nit doesn't store in the database, and will only be computed on read (so that it save storage space)\r\nit has a new engine: javascript\r\n```javascript\r\nconst diffYear = new Date().getFullYear() - new Date({{birthday}}).getFullYear();\r\nreturn diffYear;\r\n\r\n// string interpolation\r\nreturn `birthday: ${{{birthday}}}`\r\n```\r\n","readmeFilename":"README.md"}