Gathering detailed insights and metrics for @lewisf/masonry-list
Gathering detailed insights and metrics for @lewisf/masonry-list
Gathering detailed insights and metrics for @lewisf/masonry-list
Gathering detailed insights and metrics for @lewisf/masonry-list
npm install @lewisf/masonry-list
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
169 Stars
35 Commits
46 Forks
10 Watchers
1 Branches
12 Contributors
Updated on Aug 26, 2024
Latest Version
0.4.2
Package Id
@lewisf/masonry-list@0.4.2
Unpacked Size
17.90 kB
Size
5.27 kB
File Count
6
NPM Version
5.6.0
Node Version
8.10.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Allows creating masonry style list layouts in a performant way.
This component leverages FlatList
to render performant masonry layout lists. The
main caveat right now is that it doesn't support measuring cells (yet) so you need to be
able to provide the dimensions.
yarn add @appandflow/masonry-list
import MasonryList from '@appandflow/masonry-list';
This component supports most of the props of FlatList
plus a few extras one:
getHeightForItem: ({ item: any, index: number }) => number,
Returns the height for a specific item. Note that this it not optional for now.
numColumns: number
The number of columns.
renderItem: ({ item: any, index: number, column: number }) => ?ReactElement<*>,
Same as renderItem
from FlatList
but also gets passed the column index.
Play with on Expo
Take a look at example folder
Support measuring items automatically and get rid of getHeightForItem
.
Implement onEndReached in a way that it isn't called multiple times.
Support FooterComponent.
Long term, could probably be implemented without using multiple VirtualizedList
to make it more performant and less hacky.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
98 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More