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/tempore-non-vitae

v1.0.5

Published

![minified size](https://badgen.net/bundlephobia/min/@teamteanpm2024/tempore-non-vitae) ![minified zipped size](https://badgen.net/bundlephobia/minzip/@teamteanpm2024/tempore-non-vitae) ![types](https://badgen.net/npm/types/@teamteanpm2024/tempore-non-vit

Downloads

335

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

Uint8ArrayStyleSheetIteratorregexxtermreal-timereduxnpmfindLastspringqueueimmutabletoolsES3frameworkoptimistsqsyupcommandqueueMicrotaskString.prototype.matchAlllimitedbrowseri18npropertiesbindCSSStyleDeclarationrm -frasynclinuxtc39json-schema-validatortypedarrayssetgestureseslintWebSocketmruimportchaipicomatchRxJSpostcss-pluginObservablefunctionalprototypeECMAScript 2019ECMAScript 2017scheme_.extendcjknamecolumnsjasminecloudtrailcall-boundquerystringInt8Arrayreact animationECMAScript 6coredynamodbargvdescriptorsReactiveXinterruptswidthESnextstreamsprefixjsxreact posetrimStartRFC-6455trimLeftless mixinsES2023passwordstarternodecore-jsbrowserslistzeroduplexparsemkdirpSymbol.toStringTaghttpwindowses8emrbootstrap cssbeanstalkvariablesdeep-copyObject.fromEntriessnscirculartouchauthcallbacklook-upproxyenderes6Streamspromisescharactereslintpluginbusysyntaxassertseast-asian-widthparents3-0ecmascriptvaluesrecursivesigintnamesutilsmkdirshrinkwrapfpsfunctionwafsaferuntimefixed-widthpackagesavatraverseArrayBuffer.prototype.slicegradients csstslibless.jsajaxessanitizeYAMLes5asciiES2016elbxsslintkinesissideconsolegenericsfantasy-landWeakMapkeystacitpackage managerlesscsssomevisualeveryoncedebuggercorsloggingprunewhatwgfseventsdeepcopyschemagetterdependencieschannelfindes-shimscopypathisConcatSpreadablenegative zerofilereact-testing-librarypackage.jsonObjectwritableglobmatchAlltranspilexhrsymbolmiddlewarevalueHyBivalidprotobufscheme-validationRegExp#flagswatchFileECMAScript 2016arraybufferindicatorbrowserlistsignaltoStringTagtypeerroridlelengthstylesmodulenopeECMAScript 5Symbolfetchguidtypedslotbabel-corelimitsettertsdeepcloneratekoreanupstreamtextrgbowndefineequalhasOwnPropertyWeakSetwarningjQueryjoiclassesshellweakmapgetUint8ClampedArraymonorepoargumenttypesafeweaksetestreedatemodulesES5fast-deep-copyflattenfullwidthcompile lessdataviewexecURLSearchParamsECMAScript 3getoptfastfast-cloneTypedArraylessAsyncIteratorECMAScript 2021openauthenticationuuiddragregular expressionsArray.prototype.containsObject.entriesargsflatMaptesterObservablespyyamlapigetOwnPropertyDescriptornegativeformstypedarrayObject.getPrototypeOfshamsequenceclassnameslastmapreducecallimmercreatematchesObject.definePropertyArray.prototype.flattenmacoschromiumES2017Reflect.getPrototypeOfhooksprivatefpjwtjson-schema-validationformrmdirArray.prototype.findLastIndexdatastructuresesflatfsmimepersistenttrimEndbabelenvprettymobilerobustiamshebangcommandertyped arrayerror-handlingrm -rfmapdirectoryhasinstallerdescriptionuser-streamssearchfile systemsameValueZerodayjsirqwordbreaksetImmediateerrorio-tsJSONbuffer6to5regexpreadarraysprocessES7less compileres-shim APIelasticachefind-upArrayBuffercloudfrontassertionBigInt64Arrayjson-schemaInt32ArrayaccessorcssmetadataharmonydataViewinspect@@toStringTagprotoefficienttaptaskinvariantwalkpostcsscodespopmotion.envjsdiff__proto__Object.isdescriptorswfRxES2015urloperating-systemcolorastchrometimezodgroupByjestlazysharedarraybufferrequestgroupvestTypeBoxUnderscoreincludesautoscalingstreams2eventDispatchervalidateinternal slotURLsanitizationebscallbounddeterministicvalidatorsymlinksworkflowtostringtagisyamlvalidationserializerautoprefixeroffsetpackageloggerjapanesefunctions256wrap0es2017shimdomconfigurableamazoncss variableglaciercharactersprivate datastylingFloat32ArraydefinePropertyECMAScript 2020es2018slicewriteESkarmastyled-componentstakecollectionless cssec2RegExp.prototype.flagsTypeScriptinstallbatchiterationarrayintrinsicECMAScript 2023ajvhasOwnconstvpccall-bindenumerablegdprnumbercollection.es6regularargparsepushconsumecomparebuffersJSON-Schemadeletecommand-lineprotocol-buffersmakeprogressnodejscss-in-jscode pointsclassnamewgetminimalplugincolorsvarpromisekeyStreamboundES8util.inspectartcompilersymbolstelephonefastcopypoint-freeserializationcallbindsymlinktypeclonefast-deep-cloneutilrandomcomputed-typesdebugbyteLengthsetPrototypeOfeslint-pluginstringvariables in cssquotejsonschemahas-ownECMAScript 2015flagreusefindupparentsimportexportcss lessexpressionmime-dbregular expressiongradients css3storagegatewayexit-codetoArrayrfc4122parsingdeep-cloneArrayBuffer#sliceassignextensionArray.prototype.flatenvironmentoptimizereventEmitterlinewrapwordwrapmimetypessortedcliform-validationviewcensorES2019tddtypeofwhichtypessuperstructclass-validatorlockfileeslintconfiglookcryptdiffdirbreakcrypto

Readme

minified size minified zipped size types license npm-publish

Social Links

Social Links is helping to detect, validate and sanitize social (desktop & mobile) links

Install

npm i @teamteanpm2024/tempore-non-vitae --save

Demo

  • https://awesome-web-tools.web.app/@teamteanpm2024/tempore-non-vitae - Example use case
  • https://gkucmierz.github.io/@teamteanpm2024/tempore-non-vitae-app - Detect profile demo (v1.7.0)

Using

import { SocialLinks, TYPE_MOBILE } from '@teamteanpm2024/tempore-non-vitae';
const socialLinks = new SocialLinks();

const link = 'http://www.linkedin.com/in/gkucmierz';
const profileName = socialLinks.detectProfile(link); // 'linkedin'

console.log(socialLinks.isValid(profileName, link)); // true
console.log(socialLinks.sanitize(profileName, link)); // 'https://linkedin.com/in/gkucmierz'
console.log(socialLinks.sanitize(profileName, link, TYPE_MOBILE)); // 'https://linkedin.com/mwlite/in/gkucmierz'

Above examples works based on predefined linkedin profile:

import { Profile } from '@teamteanpm2024/tempore-non-vitae';
const linkedinProfile: Profile =
{ name: 'linkedin',
    matches: [
      {
        match: '(https?://)?(www.)?linkedin.com/in/({PROFILE_ID})', group: 3, type: TYPE_DESKTOP,
        pattern: 'https://linkedin.com/in/{PROFILE_ID}'
      },
      {
        match: '(https?://)?(www.)?linkedin.com/mwlite/in/({PROFILE_ID})', group: 3, type: TYPE_MOBILE,
        pattern: 'https://linkedin.com/mwlite/in/{PROFILE_ID}'
      },
      { match: '({PROFILE_ID})', group: 1 },
    ]
};

Add new profile

import { SocialLinks, Profile } from '@teamteanpm2024/tempore-non-vitae';

const socialLinks = new SocialLinks();
const profileMatches: ProfileMatch[] = [ ... ];

socialLinks.addProfile('profileName', profileMatches);

Configuration

import { SocialLinks, Config } from '@teamteanpm2024/tempore-non-vitae';

const config: Config = {
  usePredefinedProfiles: true,
  trimInput: true,
  allowQueryParams: false,
};
const socialLinks = new SocialLinks(config);

Build

Watch, tsc build

npm run start

Tests

Just jest tests

npm run test

or

npm run test:watch

Contributing

CONTRIBUTING.md