Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chris5855/vue-lo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chris5855/vue-lo

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Lo

Lo is a plugin that includes all the functionalities of lodash.

MIT Maintenance MIT


📦 References

  • lodash A modern JavaScript utility library delivering modularity, performance, & extras.

Installation

npm i @chris5855/vue-lo
#or
yarn add @chris5855/vue-lo

You must install lo as a plugin via Vue.use().

import Vue from 'vue';
import lo from '@chris5855/vue-lo';

Vue.use(lo);

Access to lodash methods (Example)

context.root.$_.[method]

<script>
  export default {
    name: 'App',
    setup(props, context) {
      let object = {
        'a': [{ 'b': 2 }, { 'd': 4 }]
      };
      let other = {
        'a': [{ 'c': 3 }, { 'e': 5 }]
      };
      let merge = context.root.$_.merge(object, other);
    
      console.log(merge);
      return{}
    }
  }
</script>

:handshake: Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

:busts_in_silhouette: Credits


:anger: Troubleshootings

This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may not be a good fit for your project(s).


:heart: Show your support

Please :star: this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.


:robot: Author

Chris Michael

You can follow me on github · twitter


Copyright © Lo 2021

FAQs

Package last updated on 16 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc