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

@osjwnpm/hic-accusantium-dolores

v1.0.0

Published

[![Build Status](https://travis-ci.org/osjwnpm/hic-accusantium-dolores.svg?branch=master)](https://travis-ci.org/osjwnpm/hic-accusantium-dolores) [![dependencies Status](https://david-dm.org/osjwnpm/hic-accusantium-dolores/status.svg)](https://david-dm.or

Downloads

5

Maintainers

lequoc12780lequoc12780

Keywords

ES2018formattingfast-deep-clonepreserve-symlinkssanitizehigher-orderjavascriptes-shimscallbindforEachECMAScript 2021slotbrowserfunctionalstyleguidereal-timesequencestylesheetsortedinferenceArray.prototype.flattypaniontypedarraydefineObject.keysspinnersymlinkbyteOffsetbusypurees8argumentdirreact-testing-librarynodeobjmkdirasciiwordbreakcall-boundsameValueZeroprefixequalitynamenumberratechinesetsregular expressionsdom-testing-librarycircularwebfromfixed-widthdefaultestreeless cssObject.assigndefinePropertyshimfunctionsbrowserlistarktypecomparecollection.es6$.extendtranspileassertionqueuedeep-cloneclassnameRxconnectconcatparserbufferECMAScript 5setES2015fpcensorstylinginputspeedJSONregular expressionSetmovetermintrinsicvalidatorerror-handlingmomentutilsexit6to5environmentsafepackage managerqueryes-abstractconsumenegativeshelljsdiffchromegetOwnPropertyDescriptorutilrgbflattenes-shim APIbindcolourescapespawntapObservablesfast-deep-copylogexecutablenodejsBigUint64ArraydeepcopywrapgetoptapptrimLeftArrayBuffer.prototype.slicequeueMicrotaskArray.prototype.containsformfetchpipeinspectString.prototype.trimstableCSSStyleDeclarationFloat64Arraymobilesuperagentreducervariables in cssunicodegroupvisualfilesigintfind-uptelephonees2016trimEndES2021avaratelimithttps0json-schema-validatorstringifycollectioninvariantefficientchildasyncpostcss-pluginjQuerytoobjectinternalwalkingdeep-copyurlstimecallonceflaginterruptsgetintrinsicharmonyiehardlinksparentInt32Arrayoptimizercontainsshebangbytees2017installernamesutilitieslookopenlintrecursiveidreact animationsearchsetPrototypeOfTypedArraybreakjoipatchenumerablewhichArray.prototype.flatMapregexfantasy-landproto@@toStringTagprivatequoteramdalockfiletapelrumatchAlltranspilerloggergradients cssttypersistentajvlimitedgraphqlcolorsxdg-openlibphonenumberES2019writablecopydataoptionArray.prototype.findLastvaluetypescriptgdprpolyfillqsfsdeepclonevalidateObject.isajaxrm -frwebsitereactrm -rfnativestreamscss lesseslintlinewrapcharacterECMAScript 2016es5settingskeypasswordnegative zeroargsshameslintconfigbundleruuidcorsUint8ClampedArraypropertybrowserslistes2015ecmascriptbufferswordwrapIteratorclassesremoveweaksetansibcryptastgenericsObjectenvtouchminimalprivate dataio-tspropertiesthrottleresolveURLSearchParamsopenerboundfast-clone-0directorylaunchsortentrieswatchFileES2020fullwidthauthenticationcss-in-jsmodulepopmotionfigletspringlinkform-validationclass-validatortypeflagseslintpluginwarningglobregexppushrmdirframeworkdiff[[Prototype]]testerjestbabelInt8Arraypathescss nestinglistenerskarmacharactersawaitdropchannelstyled-componentsprogressWeakSetprotocol-buffersa11ysuperstructArray.prototype.flattenpicomatchcssprototypeRxJSlesscssargvguidspinnerseast-asian-widthfastclonechaidataviewmergestatustoStringTagmiddlewarehookformexecurlMicrosoftsymbolSymbolconststartformsconcurrencyreadjsdomframercryptorfc4122parsebabel-coreInt16Arrayyuptddclassnamesbootstrap lessjasmineyamlgesturescurriedbatchthroatES2022propponyfillmimetypesobjectmonorepoflatMapmkdirptostringtagjsonapolloreact-hooksless.jswatchingmimeECMAScript 7phonejsonpathidlehasOwnprettyterminalisArray.prototype.includesBigInt64ArraystylesdatastructureirqdescriptorsWebSocketsdebuggerES7mkdirsencryptionfastlastxdgmatchposepnpm9watchoffsetsyntaxmapstarterreadablestreamzodcss variableutil.inspectconfigurableemojitrimcommandreduceStyleSheetmochatc39enderstatelessassertincludesdependenciesquerystringESnextECMAScript 2017hashUnderscorerequestwindowsarraybufferiteratorES2023japaneselazyassertstraversetacitcallbackfindwriteerroreverynopeimmercolorreadableReactiveExtensionsstreamwidtheditorautoprefixerimmutableES2016point-freeextrabannerredactawesomesaucegetterelectronredux-toolkitfindLastIndex_.extendnested cssfindupObject.fromEntriesfindLastreact-hook-formpreprocessorletjwtconfigkeyshelperses7hooksdayjssomereact posegetsignaliterateserializerairbnburljsxeventEmitterfull-widthUint8ArraywhatwgrapidfullserializeECMAScript 2019eventDispatcherstringbdd__proto__expressiongroupByvaluesanimationsigtermsymbolsstringifierschemapluginECMAScript 2018sideObject.valuesl10nprocessArray.prototype.findLastIndexpackagesvarcodesless compilergradients css3matchestexttaskaccessorxsscloneECMAScript 3getPrototypeOfUint16ArrayworkerlinuxserializationTypeScriptcommanderwatcherutilityES8styledataViewoperating-systempromisecore-jsjson-schema-validationprotobufES2017waitupcallboundFunction.prototype.nameless mixinsES5toArrayECMAScript 6ReactiveXvalidsymlinksfastifydebuglessjsonschemaextendpostcssURL3dcheckschemeviewxhrvariablessettertyped arraysetImmediateexecpromiseslanguagecreatemetadataECMAScript 2023functionfile systemoutputclientTypeBoxreuseRFC-6455zeroECMAScript 2020i18nstreams2flatcoercibleperformancefilterStreamsextensionreduxsyntaxerrorwaapiArrayBuffer#slicedatelimitRegExp.prototype.flagsarrayrmpackage.jsonmakePushcall-bindtestingtslibmruindicatorspectrimRighttoolkitemitexit-codebluebirdWebSocketfastcopyvestString.prototype.matchAllsharedarraybufferarraysimportscheme-validationexpressdescriptionopensregularpositiveMapArray256typedarraysWeakMapAsyncIteratorECMAScript 2022ECMAScript 2015internal slotArrayBufferworkspace:*hasauthbundlingES6YAMLtypeerrorchromiumuser-streamsoptimistweakmapcommand-lineshrinkwrapapiisConcatSpreadablesanitizationrequirecode pointsparentsomituninstalltoSortedjsPromisemime-dbmodulesxtermcomputed-typesvalidationperformantcjkObject.entriestypesafetakestructuredClonefolderSymbol.toStringTagargumentsmixins

Readme

react-native-select-multiple

Build Status dependencies Status JavaScript Style Guide

A customiseable FlatList that allows you to select multiple rows.

select-multiple

Install

npm install react-native-select-multiple

Usage

import React, { Component } from 'react'
import { View } from 'react-native'
import SelectMultiple from 'react-native-select-multiple'

const fruits = ['Apples', 'Oranges', 'Pears']
// --- OR ---
// const fruits = [
//   { label: 'Apples', value: 'appls' },
//   { label: 'Oranges', value: 'orngs' },
//   { label: 'Pears', value: 'pears' }
// ]

class App extends Component {
  state = { selectedFruits: [] }

  onSelectionsChange = (selectedFruits) => {
    // selectedFruits is array of { label, value }
    this.setState({ selectedFruits })
  }

  render () {
    return (
      <View>
        <SelectMultiple
          items={fruits}
          selectedItems={this.state.selectedFruits}
          onSelectionsChange={this.onSelectionsChange} />
      </View>
    )
  }
}
export default App

Customize label

import React, { Component } from 'react'
import { View, Text, Image } from 'react-native'
import SelectMultiple from 'react-native-select-multiple'

const fruits = ['Apples', 'Oranges', 'Pears']
// --- OR ---
// const fruits = [
//   { label: 'Apples', value: 'appls' },
//   { label: 'Oranges', value: 'orngs' },
//   { label: 'Pears', value: 'pears' }
// ]

const renderLabel = (label, style) => {
  return (
    <View style={{flexDirection: 'row', alignItems: 'center'}}>
      <Image style={{width: 42, height: 42}} source={{uri: 'https://dummyimage.com/100x100/52c25a/fff&text=S'}} />
      <View style={{marginLeft: 10}}>
        <Text style={style}>{label}</Text>
      </View>
    </View>
  )
}

class App extends Component {
  state = { selectedFruits: [] }

  onSelectionsChange = (selectedFruits) => {
    // selectedFruits is array of { label, value }
    this.setState({ selectedFruits })
  }

  render () {
    return (
      <View>
        <SelectMultiple
          items={fruits}
          renderLabel={renderLabel}
          selectedItems={this.state.selectedFruits}
          onSelectionsChange={this.onSelectionsChange} />
      </View>
    )
  }
}

Properties

| Prop | Default | Type | Description | | :------------ |:---------------:| :---------------:| :-----| | items | - | array | All items available in the list (array of string or { label, value }) | | selectedItems | [] | array | The currently selected items (array of string or { label, value }) | | onSelectionsChange | - | func | Callback called when a user selects or de-selects an item, passed (selections, item) | | keyExtractor | index | func | keyExtractor for the FlatList | | checkboxSource | image | object | Image source for the checkbox (unchecked). | | selectedCheckboxSource | image | object | Image source for the checkbox (checked). | | flatListProps | {} | object | Additional props for the flat list | | style | default styles | object | Style for the FlatList container. | | rowStyle | default styles | object | Style for the row container. | | checkboxStyle | default styles | object | Style for the checkbox image. | | labelStyle | default styles | object | Style for the text label. | | selectedRowStyle | default styles | object | Style for the row container when selected. | | selectedCheckboxStyle | default styles | object | Style for the checkbox image when selected. | | selectedLabelStyle | default styles | object | Style for the text label when selected. | | renderLabel | null | func | Function for render label. | | maxSelect | null | int | Maximum number of selected items|

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

ISC © TABLEFLIP


A (╯°□°)╯︵TABLEFLIP side project.