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

@hutechwebsite/sit-quis-alias-consequatur

v1.0.0

Published

https://juejin.cn/post/6844904161461403661

Downloads

3

Maintainers

khaipham1002khaipham1002

Keywords

byteOffsetECMAScript 2023censorfullreacticustreampackage.jsonhttpintrinsictapfullwidthes7es-abstractpopmotiondescriptorsdataredirectponyfillpropertiesassignperformantdirsameValueZerocolumnreadablestreamappfpsroutebluebirdes6shimstatelesscoreesspinnerssymbolsscheme-validationpruneurlworkflowqueuemochaaccessorsymboltc39workspace:*mergechildchannelfunctionsES2017chineseObject.isagentcallbindstructuredClonefull-widths3airbnbamazoncurldirectoryECMAScript 2018BigInt64ArrayiteratorawaitlrugenericsyamldeletevarsshamregularqueueMicrotaskFunction.prototype.namelockfilepackagesString.prototype.matchAllUint8ArraywritesomecoercibleArrayBuffer#slicelengthECMAScript 2021rfc4122circularec2typeerrorpatchObservableObject.entriesformatsyntaxerroreslint-pluginRFC-6455envcomputed-typessortloggerES2016regexpshellgestureseditormime-dbshebangreadwordbreakmonorepostylessimpledbURLprefixhigher-orderreact-hook-formutil.inspectYAMLhasOwnPropertyphoneurlstoSortedfast-deep-clonecode pointsfromES2015beanstalkreact-testing-libraryStyleSheetspawnSymbol.toStringTagyupfindLastgroupBytouchdynamodbunicodeECMAScript 2015private dataECMAScript 2019JSONstarterprivatedatecollectiontostringtagmake dircloudformationpolyfilltypedarraysbddpnpm9awsTypedArrayURLSearchParamsutilitiescommand-lineInt8ArrayinputparentsdragcloudsearchArray.prototype.flattenenvironmentsoptionglobqueryjshintpositiveObject.definePropertyES2019setstyleguideindataviewfast-cloneescapestringfastcommandinternal slotwaitsymlinksrm -frpushReactiveExtensionsweakmapemitargparsevalidcharactersnodejsoffsetobjieclinopeterminaldependenciesvalidationapollologgingmatchesimportfilezeroES2022fstoArraydefaultinspectduplexsettingsObject.assignReflect.getPrototypeOfrm -rfparsingdescriptiongraphqlbatchES8hardlinksenumerablelookextensionquoteproxyoptimizerlinkjsdiffObject.getPrototypeOfStreamsrequirebrowsercolumnshooksES6shrinkwraptypescriptCSSStyleDeclarationschemeWeakMapObservablesslotES2023eventsglobalidletoolsequalwaftraversevaluescompareiamESsideenderredactstringifierreal-timefast-deep-copyeventDispatchertypesafechromeprocessRegExp.prototype.flagsUint32ArrayvestES3streams2.envIteratorcodesreact-hookswebsitemapreducekoreanstringifyargumentsautoprefixerobjectjsonebswidthassertiontermdeep-clonemapmatchAllbuffersswftextperformanceECMAScript 7Maptyped arrayefficientreadableregexInt16Arrayes8numberhookformstoragegatewayutilitytrimRightgdprcolorFloat32Arrayroutingbundlingdayjsuuida11yfetchparseconfigurableincludesspeedfile systemjapanesefast-copyerrorcachesuperagentsafelogtypanionnamesdeterministicremovepropdeepcopychaiexeresolvesetPrototypeOfpostcsspropertyfoldertsequalityes2015serializerseslibphonenumbercloudfrontexecreact animationnegative zeroArray.prototype.flatMapkeyWeakSetreducerapicallvalidategroupflatMapES2018call-boundString.prototype.trimarktypelanguageratelimitprotocore-jswritableWebSockethttpsoutputopentestertoobjectquerystringmkdirsxdg-opentoStringTagdependency managerruntimeguidbindasserttapecryptosnsinternalbannerBigUint64ArrayfunctionSetinstallrdsestreetelephoneserializationFloat64Arrayfiglethelperses-shim APIjsxTypeBoxflattenbyteprotobuftypeseslintpluginmomentgetoptpyyamldescriptorreuseArray.prototype.flatzodmoduleselasticachees2016clonespringmovepostcss-plugincss-in-jsAsyncIteratorECMAScript 6throttleownlinewrapprettyES2020viewArray.prototype.filterkarmatypeimmerUnderscore__proto__persistentsymlinkjQuerygetterawesomesaucevpcMicrosoftsqsweaksetcontainsvalueansicopygetOwnPropertyDescriptorlimitl10ncharsetopensArrayBuffer.prototype.slicees-shimsextratimeRegExp#flagsjsdomrobustmkdirptslibInt32Arrayparseroptimistboundfind-uptrimEndmatcharraybyteLengthcheckentries[[Prototype]]regular expressionrgbHyBijoiidentifiersfastclonetrimReactiveXbreakiterationtestArray.prototype.findLastIndexastsliceasciifilterlaunchformArrayBufferwhichistakermpackage manager-0TypeScriptfunction.lengthmobilextermdatastructuredataView256npmtrimLeftflagslocationstartbundlerframerelbassertsregular expressionsRxJSglobalscallbackfunctionalloadbalancingfixed-widthclientwordwrapmakelaststyleloadingi18nstylingmetadataeveryjasmineformattingfindLastIndexmimeconcurrencydebuggeres5asyncgetintrinsictypedindicatoroncethroatUint8ClampedArraycall-binditerateprotocol-buffershasOwnimportexportcloudwatchsyntaxclass-validatoravaschemaprototypeuninstalliconv@@toStringTagdiffthreemulti-packagestreamsnameredux-toolkitid_.extendmrutypeofposewalkfindsharedarraybufferECMAScript 3trimStartES2021Object.keyswrapemojiprogresstoolkitnodepluginrate3dopenerchromiumsearchexpressiondominvariantisConcatSpreadableendpointanimationObjectdeepbrowserslistspinnercommanderdebugflagArraykinesiseventEmitterextend0Object.valuesargsECMAScript 2016ECMAScript 2017cmdxdgimmutablehelperwalkingsortedjestflatrandomreduceinstallerlintomitnativeES5es2017collection.es6cloudtrailmkdircssautoscalingwebroute53javascriptjsttyminimalconsoleJSON-SchemaemrES7environmentargvvisualconsumeECMAScript 5SymbolCSSdropconvertgettypedarrayPromiseeslintlook-upsetImmediatewgetrapiddefinePropertyworkerpromiseexpressdefinegetPrototypeOfdom-testing-libraryECMAScript 2020findupcjkPushStreamajaxio-tssettercolouraccessibilitycharactervariablesESnextArray.prototype.includesarteast-asian-widthmoduleutillazyspeccolorswaapisuperstructpath

Readme

如果有帮助,麻烦点个Star

具体实现文档

https://juejin.cn/post/6844904161461403661

@hutechwebsite/sit-quis-alias-consequatur

能够使用拼音快速检索目标。

  1. 简体版27KB (gzip ≈ 19KB),繁体版86KB (gzip ≈ 60KB)
  2. 支持多音字、繁体字、拼音首字母匹配,具备分词功能
  3. 返回位置信息,可用于高亮匹配字符
  4. 在长多音字串下依然有高性能

在线演示:https://xmflswood.github.io/@hutechwebsite/sit-quis-alias-consequatur/;

安装

npm install @hutechwebsite/sit-quis-alias-consequatur --save

支持<script>引入

简体:<script src="@hutechwebsite/sit-quis-alias-consequatur/dist/main.js"></script>

繁体:<script src="@hutechwebsite/sit-quis-alias-consequatur/dist/traditional.js"></script>

使用方式:
PinyinMatch.match('xxx', 'x')

API

.match(input, keyword)

查询匹配拼音的数据。

参数:

  1. input {string} 目标字符串
  2. keyword {string} 输入的拼音或其他关键词

返回:

{[Array]|{Boolean}}

使用范例

引入简体版:

import PinyinMatch from '@hutechwebsite/sit-quis-alias-consequatur';  // es  

const PinyinMatch = require('@hutechwebsite/sit-quis-alias-consequatur'); // commonjs

引入繁体版(es):

import PinyinMatch from '@hutechwebsite/sit-quis-alias-consequatur/es/traditional.js'; // es  

const PinyinMatch = require('@hutechwebsite/sit-quis-alias-consequatur/lib/traditional.js'); // commonjs

列表项为字符串:

let test = '123曾经沧海难为水除却巫山不是云'

PinyinMatch.match(test, '23曾'); // [1, 3]

PinyinMatch.match(test, 'cjc') // [3, 5]

PinyinMatch.match(test, 'cengjingcanghai') // [3, 6]

PinyinMatch.match(test, 'cengjingcangha') // [3, 6]

PinyinMatch.match(test, 'engjingcanghai') // false

PinyinMatch.match(test, 'zengjingcang') // [3, 5]

PinyinMatch.match(test, 'sdjkelwqf') // false

PinyinMatch.match(test, 'zengji ng cang') // [3, 5]

PinyinMatch.match(test, 'zengji ng cangsdjfkl') // false

PinyinMatch.match('   我 爱你 中   国   ', 'nzg') // [6, 12]

PinyinMatch.match('   我 爱你 中   国   ', '爱你中') // [5, 8]

PinyinMatch.match('發', 'fa') // [0, 0]

许可证

@hutechwebsite/sit-quis-alias-consequatur is under The Star And Thank Author License (SATA)

本项目基于MIT协议发布,并增加了SATA协议

其他语言版本

欢迎其他语言开发者增加对应版本(标明来自本项目即可)

GO

https://github.com/limawanyan/go-@hutechwebsite/sit-quis-alias-consequatur

仓库

https://github.com/hutechwebsite/sit-quis-alias-consequatur