npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@teamteanpm2024/similique-cumque-veritatis

v1.0.3

Published

Downloads

2

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

ObservablehookformoptionmatchAllReactiveExtensionsfindLastIndexvalueopenercontainsshebangyamltrimdraginstallenderbrowserslistArray.prototype.filternameautoprefixerObjecterror-handlingRxJSJSONvarformatchaifindLastmomentkarmafunctionurlcss variablepuregroupBycolorsemitwatcherpopmotionArray.prototype.findLastpromisepicomatchlastloadingspawnshellArray.prototype.containstextbannerframeworkyupspeedYAMLECMAScript 6offsetlengthinputES2016shamerrorxdg-openhasOwnreact-hooksmkdirsbyteLengthtddArray.prototype.flatMapes-shim APIloggingtypanionStreampromisesduplexgdprconcatMapes7timeES2020joivaluesfullarraysharmonyless.jsmiddlewarewritesetImmediatespringReflect.getPrototypeOfECMAScript 2020extraconsoleratecommand-linepostcss-pluginpersistentfetchcheckcolumnsstreams2requiresearchbindgradients css3URLeslintcharacterslessincludesES60isConcatSpreadableES2022prunehelperseslint-pluginfunctionalgroup_.extendslicedescriptiondeepcopyreact posewatchFilecallbindlinewraphttpsflagsprotocol-buffersmime-dbreactargument.envmatchesCSSStyleDeclarationECMAScript 2019StyleSheetFunction.prototype.namepyyamlfind-upclass-validatorprogressworkspace:*fastsharedinternal slotttycode pointsidlemapreducervisualsharedarraybufferredactpushinstallerMicrosoftES2017JSON-Schemaiteratedefaultfunctionsweakmapupbyteobjectes-abstractxhrbootstrap lesschromiumtrimRightpolyfillenumerablemonoreporm -rftc39queueMicrotaskcompile lesswaapistringifierthroatlazystablesafedeletehardlinkssortartsettingspoint-freedirectoryiteratorbundlingcolumnURLSearchParams3dgetintrinsicuuidBigUint64ArraydatestylespostcsscurriedecmascriptIteratorkoreansignalnested cssmixinsSymboltouchhigher-order__proto__ramdasetPrototypeOfredux-toolkitmobileio-tsjestboundInt8ArrayauthenticationlibphonenumberutildatazeroECMAScript 3consumeopenbrowserliststringifyexit-codetypedArrayhttpfantasy-landcoerciblejQueryxssarrayes8getterforEachpackage.jsonreact-hook-forml10ncss-in-jsES2021resolvegetoptgloboptimizerstyleobj6to5dirPromisecompilerdescriptorssomequerystringformutilitiesviewdomflatexitexpresseditorschemaratelimitbluebirdprettyECMAScript 5deepwatchingfast-copyidnamesoutputfast-deep-copyRegExp.prototype.flagsprotobufcreatexdgpropertiesi18nRFC-6455trimStartArray.prototype.flattenTypeBoxhooksdeep-cloneESclassesclilaunchdebuggerwalk@@toStringTagoperating-systemserializationArray.prototype.includesargparsees6takespinnersInt32Arraytapfile systemzodECMAScript 2016fastifyomitprotoclonelimitedweaksetargumentseast-asian-widthdataViewencryptionqueryesnegative zerorandomlookstyleguideentriesregular expressionsreact animationairbnbpackagesclassnamesreducemakecharacterhastermcmdsyntaxfindupbufferses2015ECMAScript 2015parsetrimLeftanimationappbcryptfast-deep-cloneposequeueargvString.prototype.trimthreesuperagent$.extendtoolkiteventsregular expressionqstoStringTagcachesetcall-boundconcurrencyES2018propconstjavascriptflatMapsuperstructtraverseutil.inspectdescriptorwarningdeterministicefficientcurlmkdircss nestingshrinkwrapguidmimejasminejsonschemajson-schematelephonesymlinktranspilerbusyWeakSetindicatorcomparecolortypescriptECMAScript 2022executablelruUint32ArrayvalidfileoncestylinglinkperformanceapirobustfastcopysameValueZeroschemeArray.prototype.flatwgetparentstoSortedregularCSSdataviewisStreamsargs[[Prototype]]hashreadablegenericsRegExp#flagswritablewalkingserializerObject.keysObject.assigntaskequalitykeyscorejson-schema-validationassign

Readme

Vue Inheritance

Introduction

@teamteanpm2024/similique-cumque-veritatis is an npm package designed for Vue.js projects. It provides a convenient way to manage and reuse component properties and methods. Leveraging Vue's extension and mixin capabilities, this package simplifies the definition and application of component attributes, making it more modular.

Installation

install @teamteanpm2024/similique-cumque-veritatis using the following command:

npm install @teamteanpm2024/similique-cumque-veritatis

Usage

In your Vue project, import VueInheritance:

import { VueInheritance } from '@teamteanpm2024/similique-cumque-veritatis'

Define Interface Modules

Define one or more props, methods, computed modules.

// IControl
export const IControl = {
  props: {
    disabled: {
       type: Boolean,
       default: false
    }
  }
}

// ITheme
export const ITheme = {
  props: {
    theme: {
      type: String,
      default: 'Standard'
    }
  }
}

// ILoading
export const ILoading = {
  props: {
    isLoading: {
      type: Boolean,
      default: false
    }
  }
}


// IButton 
export const IButton = {
  extends: VueInheritance.implement(IControl).implement(ITheme)
  props: {
    size: {
      type: String,
      default: 'lg'
    }
  },

  methods: {
  }
}



  

Implement

In your specific component, use the VueInheritance implement method to apply Interface modules.

// Button.vue
export default {
  extends: VueInheritance.implement(IControl).implement(ITheme),
  methods: {
    onClick(e) {
      this.$emit('click', e)
    }
  }
}

// or

export default {
  extends: IButton
}

Extend

In another component, use the extend method to inherit an existing component and the implement method to apply additional attribute modules.

// LoadingButton.vue
import Button from './Button.vue'

export default {
  extends: VueInheritance.extend(Button).implement(ILoading)
}

Examples Button with IControl and ITheme

<template>
   <button :disabled="disabled" :class="theme" @click="onClick">Click me</button>
</template>

<script>
import { VueInheritance } from '@teamteanpm2024/similique-cumque-veritatis'
import { IControl } from '@/core/IControl.js'
import { ITheme } from '@/core/ITheme.js'

export default {
   extends: VueInheritance.implement(IControl).implement(ITheme),
   methods: {
      onClick(e) {
         this.$emit('click', e)
      }
   }
}
</script>

Loading Button with ILoading

<template>
   <Button :disabled="disabled || isLoading" :class="theme" @click="onClick">
      <span v-if="isLoading">Loading...</span>
      <span v-else>Click me</span>
   </Button>
</template>

<script>
import { VueInheritance } from '@teamteanpm2024/similique-cumque-veritatis'
import Button from './Button.vue'
import { ILoading } from '@/core/ILoading.js'

export default {
   extends: VueInheritance.extend(Button).implement(ILoading)
}
</script>

This way, you can define interface modules based on project requirements and flexibly apply and reuse them in your components.