0.1.2 • Published 5 months ago

@gridal/f-gridalyutils v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

GridalyUtils

The purpose of this package is to keep repetitive functions together in one place. It should only contain pure functions or logic that can be separated and have high chance to be used across other applications.

Because this package will be used by different projects in different stacks (react, react-native) by any means it should not have any relations to html elements or react-native components, it' should ONLY have logic! (With only exception that such elements are returned as strings)

Helpers

parseMarkdownString('String with [link](https://gridaly.com)');
getSocialMediaIcon('facebook | github | instagram | linkedin | pinterest | skype | twitter | vimeo | tiktok | youtube');
getFlagIcon('pl | PL');
getFileTypeIcon(
	'ai |	avi |	doc |	gif |	jpg |	mkv |	mp3 |	pdf |	png |	ppt |	psd |	rar |	svg |	txt |	ww |	xls |	zip |	image |	music |	video |	website',
);
getFlagIcon(1024, 2);

Development

npm install
npm start # or yarn start
cd example
npm install
npm start # or yarn s tart
0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

6 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.8-beta.0

6 months ago

0.0.7

6 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

9 months ago

0.0.1

9 months ago