simple calculation lib with lazy feature 🎲➕➖➗✖️

Overview

codecov Codacy Badge All Contributors Build Status Greenkeeper badge Known Vulnerabilities License: MIT npm type definitions npm FOSSA Status

vue-lazy-calc

this is a simple calculation plugin in lazy way. (inspired by lodash)

features

  • vue friendly
  • strong typed
  • lazy evaluation
  • chaining methods
  • code coverage 100%

TODO:

  • seperate simple lazy class from base class
  • support more operator in stream api

Install

npm install vue-lazy-calc --save

Quick Start

import lzCalc from "vue-lazy-calc"
Vue.use(lzCalc)

Methods

  • this.$lzCalc in Component context.
  • Vue.$lzCalc in global.

API list

base

export declare class LazyBase {
  lazy(init?: number): LazyCalc
  stream(s?: LazyCalc): LazyStream
}
  • lazy => init a new instance with optional initValue
  • stream => init a stream to operate between multiple lazy instance with optional init instantce

simple

export declare class LazyCalc {
  add(y: number): LazyCalc
  divide(y: number): LazyCalc
  subtract(y: number): LazyCalc
  multiply(y: number): LazyCalc
  do(fn: operatorFunc): LazyCalc
  ceil(precision?: number): LazyCalc
  floor(precision?: number): LazyCalc
  round(precision?: number): LazyCalc
  default(fallback: any): LazyCalc
  value(): any
}
  • add/subtract/divide/multiple => + - * / (simple calculation) between numbers
  • round/floor/ceil => deal with precision of the float number
  • value => excute the declared method chain
  • default => set default value if previous operations get NaN
  • do => accept a custormized function for the number

Examples

(1+3)*2/3 with precision 2

const result = this.$lzCalc
  .lazy(1)
  .add(3)
  .multiply(2)
  .divide(3)
  .round(2)

console.log(result.value()) // 2.67

const addThree = result.add(3)
console.log(addThree.value()) // 2.67+ 3 =>5.67

Stream

declare class LazyStream {
  add(y: LazyCalc): LazyStream
  subtract(y: LazyCalc): LazyStream
  multiply(y: LazyCalc): LazyStream
  divide(y: LazyCalc): LazyStream
  round(precision?: number): LazyStream
  ceil(precision?: number): LazyStream
  floor(precision?: number): LazyStream
  do(fn: operatorFunc): LazyStream
  default(fallback: any): LazyStream
  value(): any
}
const result = this.$lzCalc
  .lazy(1)
  .add(3)
  .multiply(2)
  .divide(3)
  .round(2)

const tmp = this.$lzCalc.lazy(2).add(3)
const s = this.$lzCalc.stream(result).add(tmp)

console.log(s.value()) // 2.67 + 5 => 7.67
  1. when declare the result variable, no calculation excuted until value()
  2. you can reuse the declare variable

License

FOSSA Status

Contributors

Thanks goes to these wonderful people (emoji key):

Vincent Guo
Vincent Guo

💻 📖 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

Comments
  • Update @vue/cli-plugin-eslint to the latest version 🚀

    Update @vue/cli-plugin-eslint to the latest version 🚀

    The devDependency @vue/cli-plugin-eslint was updated from 3.12.0 to 4.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: soda License: MIT

    Release Notes for v4.0.0

    We're happy to announce the release of Vue CLI version 4!

    This major version bump is focused on necessary version bumps of underlying tools, better default setups, and other fine-tunings required for long-term maintenance.

    We expect a smooth migration experience for most users.

    You can view the full migration guide at https://cli.vuejs.org/migrating-from-v3/


    Vue CLI v4 comes with greatly improved Nightwatch, Jest and PWA support, and many other small tweaks across all the core packages.

    Lots of underlying major dependencies have been upgraded:

    The complete change list is available in the migration guide.


    While our focus has shifted to this new major version, old versions will continue to be supported for a while.
    Most of the (non-semver-breaking) new features we bring in v4 have already been backported to v3.

    We'd like to continue to backport more commits to v3, but as the codebase diverges, it might become harder and harder for us to do so.
    We strongly recommend you to upgrade your projects to v4 soon.

    Here are a few new features not able to be backported to v3, because of the codebase divergence:

    1. In the development of v4, we've modernized much of the code base, now allowing us to support more package managers (custom package managers and PNPM v4).
      Yarn v2 support may arrive in subsequent feature releases of Vue CLI v4.

    2. For plugin developers, a few more utilities are available in the GeneratorAPI.

    Commits

    The new version differs by 349 commits ahead by 349, behind by 158.

    • 81f8457 v4.0.0
    • 0603f1e chore: pre release sync
    • 15c86f0 docs: preparing v4 stable release [ci skip]
    • c80fb6a fix: pin typescript version to 3.5 until we support typescript-eslint 2
    • 4de59d0 fix(types): update css options interface to reflect v4 changes
    • 2601fec docs: add notes about vue --version output format [ci skip]
    • 28fd1db chore: merge branch 'next' into dev
    • d72b453 fix: fix afterAnyInvoke hook compatibility with pnpm 4
    • 953a080 fix: update .npmrc for pnpm 4
    • 5d2c8da refactor: replace --disturl option with NODEJS_ORG_MIRROR env variable
    • badf63d fix: add pnpm v4 support (#4677)
    • b65b24e fix: correct typo in babel migrator (#4683)
    • 3677493 chore!: add @vue/cli in --version output, to avoid confusion (#4681)
    • 469d3d8 docs: migration guide from v3 to v4 (#4552) [ci skip]
    • c760910 missing documentation for building with vuex (#2319)

    There are 250 commits in total.

    See the full diff


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 12
  • Update @vue/cli-plugin-unit-jest to the latest version 🚀

    Update @vue/cli-plugin-unit-jest to the latest version 🚀

    The devDependency @vue/cli-plugin-unit-jest was updated from 3.12.0 to 4.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: soda License: MIT

    Release Notes for v4.0.0

    We're happy to announce the release of Vue CLI version 4!

    This major version bump is focused on necessary version bumps of underlying tools, better default setups, and other fine-tunings required for long-term maintenance.

    We expect a smooth migration experience for most users.

    You can view the full migration guide at https://cli.vuejs.org/migrating-from-v3/


    Vue CLI v4 comes with greatly improved Nightwatch, Jest and PWA support, and many other small tweaks across all the core packages.

    Lots of underlying major dependencies have been upgraded:

    The complete change list is available in the migration guide.


    While our focus has shifted to this new major version, old versions will continue to be supported for a while.
    Most of the (non-semver-breaking) new features we bring in v4 have already been backported to v3.

    We'd like to continue to backport more commits to v3, but as the codebase diverges, it might become harder and harder for us to do so.
    We strongly recommend you to upgrade your projects to v4 soon.

    Here are a few new features not able to be backported to v3, because of the codebase divergence:

    1. In the development of v4, we've modernized much of the code base, now allowing us to support more package managers (custom package managers and PNPM v4).
      Yarn v2 support may arrive in subsequent feature releases of Vue CLI v4.

    2. For plugin developers, a few more utilities are available in the GeneratorAPI.

    Commits

    The new version differs by 349 commits ahead by 349, behind by 158.

    • 81f8457 v4.0.0
    • 0603f1e chore: pre release sync
    • 15c86f0 docs: preparing v4 stable release [ci skip]
    • c80fb6a fix: pin typescript version to 3.5 until we support typescript-eslint 2
    • 4de59d0 fix(types): update css options interface to reflect v4 changes
    • 2601fec docs: add notes about vue --version output format [ci skip]
    • 28fd1db chore: merge branch 'next' into dev
    • d72b453 fix: fix afterAnyInvoke hook compatibility with pnpm 4
    • 953a080 fix: update .npmrc for pnpm 4
    • 5d2c8da refactor: replace --disturl option with NODEJS_ORG_MIRROR env variable
    • badf63d fix: add pnpm v4 support (#4677)
    • b65b24e fix: correct typo in babel migrator (#4683)
    • 3677493 chore!: add @vue/cli in --version output, to avoid confusion (#4681)
    • 469d3d8 docs: migration guide from v3 to v4 (#4552) [ci skip]
    • c760910 missing documentation for building with vuex (#2319)

    There are 250 commits in total.

    See the full diff


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 10
  • Update cz-conventional-changelog to the latest version 🚀

    Update cz-conventional-changelog to the latest version 🚀

    The devDependency cz-conventional-changelog was updated from 2.1.0 to 3.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: commitizen-bot License: MIT

    Release Notes for v3.0.0

    3.0.0 (2019-07-19)

    Bug Fixes

    Features

    • add default values to options (#69) (65d6a9f)
    • implement configuration through package.json (#75) (3398c02)

    BREAKING CHANGES

    • Node 10 is LTS so please upgrade to it.
    Commits

    The new version differs by 7 commits.

    • 76588ad fix: remove pre-node 10 support (#86)
    • 6ed57bd ci(publish): fixed the npm command to run semantic-release (#81)
    • 3398c02 feat: implement configuration through package.json (#75)
    • 65d6a9f feat: add default values to options (#69)
    • f2ca755 chore(license): adds missing MIT license file (#67)
    • d4bf98e Merge pull request #64 from jacobq/patch-1
    • ff370a3 doc(README): Update link (again)

    See the full diff


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 2
  • Update eslint to the latest version 🚀

    Update eslint to the latest version 🚀

    The devDependency eslint was updated from 5.16.0 to 6.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Release Notes for v6.0.0
    • 81aa06b Upgrade: [email protected] (#11869) (Teddy Katz)
    • 5f022bc Fix: no-else-return autofix produces name collisions (fixes #11069) (#11867) (Milos Djermanovic)
    • ded9548 Fix: multiline-comment-style incorrect message (#11864) (golopot)
    • cad074d Docs: Add JSHint W047 compat to no-floating-decimal (#11861) (Timo Tijhof)
    • 41f6304 Upgrade: sinon (#11855) (Toru Nagashima)
    • 167ce87 Chore: remove unuseable profile command (#11854) (Toru Nagashima)
    • c844c6f Fix: max-len properly ignore trailing comments (fixes #11838) (#11841) (ZYSzys)
    • 1b5661a Fix: no-var should not fix variables named 'let' (fixes #11830) (#11832) (Milos Djermanovic)
    • 4d75956 Build: CI with Azure Pipelines (#11845) (Toru Nagashima)
    • 1db3462 Chore: rm superfluous argument & fix perf-multifiles-targets (#11834) (薛定谔的猫)
    • c57a4a4 Upgrade: @babel/polyfill => core-js v3 (#11833) (薛定谔的猫)
    • 65faa04 Docs: Clarify prefer-destructuring array/object difference (fixes #9970) (#11851) (Oliver Sieweke)
    • 81c3823 Fix: require-atomic-updates reports parameters (fixes #11723) (#11774) (Toru Nagashima)
    • aef8ea1 Sponsors: Sync README with website (ESLint Jenkins)
    Commits

    The new version differs by 134 commits.

    • a7985a6 6.0.0
    • be74dd9 Build: changelog update for 6.0.0
    • 81aa06b Upgrade: [email protected] (#11869)
    • 5f022bc Fix: no-else-return autofix produces name collisions (fixes #11069) (#11867)
    • ded9548 Fix: multiline-comment-style incorrect message (#11864)
    • cad074d Docs: Add JSHint W047 compat to no-floating-decimal (#11861)
    • 41f6304 Upgrade: sinon (#11855)
    • 167ce87 Chore: remove unuseable profile command (#11854)
    • c844c6f Fix: max-len properly ignore trailing comments (fixes #11838) (#11841)
    • 1b5661a Fix: no-var should not fix variables named 'let' (fixes #11830) (#11832)
    • 4d75956 Build: CI with Azure Pipelines (#11845)
    • 1db3462 Chore: rm superfluous argument & fix perf-multifiles-targets (#11834)
    • c57a4a4 Upgrade: @babel/polyfill => core-js v3 (#11833)
    • 65faa04 Docs: Clarify prefer-destructuring array/object difference (fixes #9970) (#11851)
    • 81c3823 Fix: require-atomic-updates reports parameters (fixes #11723) (#11774)

    There are 134 commits in total.

    See the full diff

    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 1
  • Add license scan report and status

    Add license scan report and status

    Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README.

    Below are docs for integrating FOSSA license checks into your CI:

    opened by fossabot 1
  • Add Greenkeeper badge 🌴

    Add Greenkeeper badge 🌴

    Let’s get started with automated dependency management for vue-lazy-calc :muscle:

    🔒 Greenkeeper has found a package-lock.json file in this repository. Greenkeeper supports lockfile updates for public packages. If you use private packages in your repository, please use greenkeeper-lockfile to make sure these can get updated as well.

    All of your dependencies are already up-to-date, so this repository was enabled right away. Good job :thumbsup:


    🏷 How to check the status of this repository

    Greenkeeper adds a badge to your README which indicates the status of this repository.

    This is what your badge looks like right now :point_right: Greenkeeper badge

    🙈 How to ignore certain dependencies

    You may have good reasons for not wanting to update to a certain dependency right now. In this case, you can change the dependency’s version string in the package.json file back to whatever you prefer.

    To make sure Greenkeeper doesn’t nag you again on the next update, add a greenkeeper.ignore field to your package.json, containing a list of dependencies you don’t want to update.

    // package.json
    {
      …
      "greenkeeper": {
        "ignore": [
          "package-names",
          "you-want-me-to-ignore"
        ]
      }
    }
    
    👩‍💻 How to update this pull request
      # Change into your repository’s directory
      git fetch --all
      git checkout greenkeeper/initial
      npm install-test
      # Adapt your code until everything works again
      git commit -m 'chore: adapt code to updated dependencies'
      git push https://github.com/dreambo8563/vue-lazy-calc.git greenkeeper/initial
    
    ✨ How do dependency updates work with Greenkeeper?

    After you merge this pull request, Greenkeeper will create a new branch whenever a dependency is updated, with the new version applied. The branch creation should trigger your testing services and check whether your code still works with the new dependency version. Depending on the the results of these tests Greenkeeper will try to open meaningful and helpful pull requests and issues, so your dependencies remain working and up-to-date.

    -  "underscore": "^1.6.0"
    +  "underscore": "^1.7.0"
    

    The above example shows an in-range update. 1.7.0 is included in the old ^1.6.0 range, because of the caret ^ character. When the test services report success Greenkeeper will silently delete the branch again, because no action needs to be taken – everything is fine.

    However, should the tests fail, Greenkeeper will create an issue to inform you about the problem immediately.

    This way, you’ll never be surprised by a dependency breaking your code. As long as everything still works, Greenkeeper will stay out of your way, and as soon as something goes wrong, you’ll be the first to know.

    -  "lodash": "^3.0.0"
    +  "lodash": "^4.0.0"
    

    In this example, the new version 4.0.0 is not included in the old ^3.0.0 range. For version updates like these – let’s call them “out of range” updates – you’ll receive a pull request.

    This means that you no longer need to check for new versions manually – Greenkeeper will keep you up to date automatically.

    These pull requests not only serve as reminders to update: If you have solid tests and good coverage, and the pull requests passes those tests, you can very likely just merge it and release a new version of your software straight away :shipit:

    To get a better idea of which ranges apply to which releases, check out the extremely useful semver calculator provided by npm.

    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Good luck with your project and see you soon :sparkles:

    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 0
  • Update ts-jest to the latest version 🚀

    Update ts-jest to the latest version 🚀

    The devDependency ts-jest was updated from 24.3.0 to 25.1.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: kul License: MIT

    Find out more about this release.


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 10
  • Update @types/jest to the latest version 🚀

    Update @types/jest to the latest version 🚀

    The devDependency @types/jest was updated from 24.9.1 to 25.1.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: types License: MIT

    Find out more about this release.


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 9
  • Update @vue/eslint-config-typescript to the latest version 🚀

    Update @vue/eslint-config-typescript to the latest version 🚀

    The devDependency @vue/eslint-config-typescript was updated from 4.0.0 to 5.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: soda License: MIT

    Find out more about this release.


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 3
  • Update eslint-plugin-vue to the latest version 🚀

    Update eslint-plugin-vue to the latest version 🚀

    The devDependency eslint-plugin-vue was updated from 5.2.3 to 6.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: michalsnik License: MIT

    Find out more about this release.


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 8
  • Update @vue/cli-service to the latest version 🚀

    Update @vue/cli-service to the latest version 🚀

    The devDependency @vue/cli-service was updated from 3.12.0 to 4.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: soda License: MIT

    Release Notes for v4.0.0

    We're happy to announce the release of Vue CLI version 4!

    This major version bump is focused on necessary version bumps of underlying tools, better default setups, and other fine-tunings required for long-term maintenance.

    We expect a smooth migration experience for most users.

    You can view the full migration guide at https://cli.vuejs.org/migrating-from-v3/


    Vue CLI v4 comes with greatly improved Nightwatch, Jest and PWA support, and many other small tweaks across all the core packages.

    Lots of underlying major dependencies have been upgraded:

    The complete change list is available in the migration guide.


    While our focus has shifted to this new major version, old versions will continue to be supported for a while.
    Most of the (non-semver-breaking) new features we bring in v4 have already been backported to v3.

    We'd like to continue to backport more commits to v3, but as the codebase diverges, it might become harder and harder for us to do so.
    We strongly recommend you to upgrade your projects to v4 soon.

    Here are a few new features not able to be backported to v3, because of the codebase divergence:

    1. In the development of v4, we've modernized much of the code base, now allowing us to support more package managers (custom package managers and PNPM v4).
      Yarn v2 support may arrive in subsequent feature releases of Vue CLI v4.

    2. For plugin developers, a few more utilities are available in the GeneratorAPI.

    Commits

    The new version differs by 349 commits ahead by 349, behind by 158.

    • 81f8457 v4.0.0
    • 0603f1e chore: pre release sync
    • 15c86f0 docs: preparing v4 stable release [ci skip]
    • c80fb6a fix: pin typescript version to 3.5 until we support typescript-eslint 2
    • 4de59d0 fix(types): update css options interface to reflect v4 changes
    • 2601fec docs: add notes about vue --version output format [ci skip]
    • 28fd1db chore: merge branch 'next' into dev
    • d72b453 fix: fix afterAnyInvoke hook compatibility with pnpm 4
    • 953a080 fix: update .npmrc for pnpm 4
    • 5d2c8da refactor: replace --disturl option with NODEJS_ORG_MIRROR env variable
    • badf63d fix: add pnpm v4 support (#4677)
    • b65b24e fix: correct typo in babel migrator (#4683)
    • 3677493 chore!: add @vue/cli in --version output, to avoid confusion (#4681)
    • 469d3d8 docs: migration guide from v3 to v4 (#4552) [ci skip]
    • c760910 missing documentation for building with vuex (#2319)

    There are 250 commits in total.

    See the full diff


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 14
  • Update @vue/cli-plugin-typescript to the latest version 🚀

    Update @vue/cli-plugin-typescript to the latest version 🚀

    The devDependency @vue/cli-plugin-typescript was updated from 3.12.0 to 4.0.0.

    This version is not covered by your current version range.

    If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


    Publisher: soda License: MIT

    Release Notes for v4.0.0

    We're happy to announce the release of Vue CLI version 4!

    This major version bump is focused on necessary version bumps of underlying tools, better default setups, and other fine-tunings required for long-term maintenance.

    We expect a smooth migration experience for most users.

    You can view the full migration guide at https://cli.vuejs.org/migrating-from-v3/


    Vue CLI v4 comes with greatly improved Nightwatch, Jest and PWA support, and many other small tweaks across all the core packages.

    Lots of underlying major dependencies have been upgraded:

    The complete change list is available in the migration guide.


    While our focus has shifted to this new major version, old versions will continue to be supported for a while.
    Most of the (non-semver-breaking) new features we bring in v4 have already been backported to v3.

    We'd like to continue to backport more commits to v3, but as the codebase diverges, it might become harder and harder for us to do so.
    We strongly recommend you to upgrade your projects to v4 soon.

    Here are a few new features not able to be backported to v3, because of the codebase divergence:

    1. In the development of v4, we've modernized much of the code base, now allowing us to support more package managers (custom package managers and PNPM v4).
      Yarn v2 support may arrive in subsequent feature releases of Vue CLI v4.

    2. For plugin developers, a few more utilities are available in the GeneratorAPI.

    Commits

    The new version differs by 349 commits ahead by 349, behind by 158.

    • 81f8457 v4.0.0
    • 0603f1e chore: pre release sync
    • 15c86f0 docs: preparing v4 stable release [ci skip]
    • c80fb6a fix: pin typescript version to 3.5 until we support typescript-eslint 2
    • 4de59d0 fix(types): update css options interface to reflect v4 changes
    • 2601fec docs: add notes about vue --version output format [ci skip]
    • 28fd1db chore: merge branch 'next' into dev
    • d72b453 fix: fix afterAnyInvoke hook compatibility with pnpm 4
    • 953a080 fix: update .npmrc for pnpm 4
    • 5d2c8da refactor: replace --disturl option with NODEJS_ORG_MIRROR env variable
    • badf63d fix: add pnpm v4 support (#4677)
    • b65b24e fix: correct typo in babel migrator (#4683)
    • 3677493 chore!: add @vue/cli in --version output, to avoid confusion (#4681)
    • 469d3d8 docs: migration guide from v3 to v4 (#4552) [ci skip]
    • c760910 missing documentation for building with vuex (#2319)

    There are 250 commits in total.

    See the full diff


    FAQ and help

    There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


    Your Greenkeeper bot :palm_tree:

    greenkeeper 
    opened by greenkeeper[bot] 14
Releases(v1.2.0)
Owner
Vincent Guo
Node Javascript Typescript SCSS PostCSS React Redux Mobx Angular2 Webpack Rxjs Vue NUXT Golang Redis Mysql Docker k8s
Vincent Guo
A super simple image lazy loader for Vue.

cube-vue-image-lazy A super simple image lazy loader for Vue. Install yarn add cube-vue-image-lazy Warning: You'll need to install the w3c Intersectio

Cube 4 Nov 15, 2022
Lazy load background images for Vue 2

Lazy Background Images for Vue vue-lazy-background-images A simple Vue component for lazy loading background components. This component is only for ba

Darryn Ten 67 Nov 24, 2022
A plugin of lazy-load images for Vue2.x

vue-lazyload-images A plugin of lazy-load images for Vue2.x Support images lazyload in window or build-in element. Demo Installation npm $ npm install

LowesYang 61 Nov 19, 2022
simplistic vue.js directive for image lazy loading

Vue Progressive Image Lazy load images while showing a preview. Super tiny, less than half a kilobyte minified and gzipped. usage v-lazy-img adds the

Norman 25 Aug 11, 2021
Component-based lazy (CLazy) load images in Vue.js 2

Vue Clazy Load Claziest lazy loader out there! Component-based image lazy loader for Vue.js 2 Swaps between your image and another component when load

Matheus Grieger 107 Nov 16, 2022
:camera: Mini Image Lazy Loader for P(R)eact and Vue

Pimg is a Progessive Image Component For React, Preact and Vue.js. It helps in lazy loading of images in a nice and cool way. It's 2KB (gzipped). It h

Ademola. 99 Oct 27, 2022
🐌 A small size Vue.js directive for lazy loading images using IntersectionObserver API

?? vue-tiny-lazyload-img A small size Vue.js directive for lazy loading images using IntersectionObserver API Demo Page https://mazipan.github.io/vue-

Irfan Maulana 91 Nov 18, 2021
A small lazy image loader for Vue

lazy-vue lazy-vue is the easiest way to get a lazy image loader working within your vue projects. It is meant to be as simplest as possible, so you do

Gustavo Ocanto 63 Jul 19, 2022
Flexible modal component for Vue with ability of asynchronous lazy loading

vue-async-modal Flexible modal component for Vue with ability of asynchronous lazy loading Usage Firstly, you should add Modal component in your templ

JounQin 37 Nov 14, 2022
Vue.js Image Kit Component with Lazy Load built in and Responsive Images

Vue Image Kit Vue.js Image Kit Component with Lazy Load built in and Responsive Images The inspiration comes from this and a talk from @derevandal in

Igor Guastalla 9 Mar 31, 2022
A Lazy load plugin for Vue 3.x

vue3-lazy Status: Alpha. Lazy load plugin for Vue 3.x inspired by vue-lazyload. This plugin support very simple options, and easy to use. Install $ np

null 2 Feb 8, 2022
Vue 2 image and video loader supporting lazy loading, background videos, fixed aspect ratios, low rez poster images, transitions, loaders, slotted content and more.

Vue Visual Vue 2 image and video loader supporting lazy loading. Visual 2.x is a simplification of Version 1.x with a greater reliance on modern brows

Bukwild 56 Sep 9, 2022
A lightweight web package that loads items in lazy way to achieve high performance and better UX in large lists

Lazy Load List Lazy Load List is a lightweight web package that loads items in lazy way to achieve high performance and better UX in large lists. Rend

OMER ANWAR 22 Dec 26, 2022
Vue.js lazy load image directive with akamai image converter

vue-lazyload-akamai Vue.js lazy load image directive with akamai image converter ??

Blibli.com 2 Aug 13, 2018
A Vue lazy loading directive.

A Vue lazy loading directive.

Vue Interface 0 Dec 9, 2022
A Vue.js component to lazy load images using the Intersection Observer.

vue-li-image A Vue.js component to lazy load an image automatically when it enters the viewport using the Intersection Observer API.

null 0 Mar 19, 2021
Create lazy image, embed, video and element with animation just with attributes.

?? Lazy-attr v1.2.3 Create lazy loading request or element like image, iframe, video... Make custom animation on lazy and not lazy element on all brow

null 1 Jan 4, 2022
The easiest way to lazy load your content

VueLazily The easiest way to lazy load your content. Inspired by vue-promised, recommend to look at it if you need loading/errors handling without laz

Enkot 7 Oct 29, 2022
A vue component for sleek and optimal lazy loading

sloth-loader ?? Image Lazy loader Vue Component with intersection observer Example here Installation yarn add sloth-loader npm i sloth-loader import c

Kenny Krosky 0 Oct 21, 2021