1.0.6 • Published 1 year ago

language-flash v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Twitter thread describing the project

I built this app for studying Mandarin vocab words, but it can easily be tailored to any other language you're able to get data for

just import it and pass your data through props:

<script>
	import LanguageFlash from 'language-flash'
  // data should be an array of objects with the following structure: 
  // { word: '', wordModeTwo: '', wordModeThree: '', meaning: '' }
	const promise = fetch('/some/data').then(res => res.json()) 
</script>


{#await promise}
	<LanguageFlash />
{:then vocabData}
	<LanguageFlash vocabData={vocabData} />
{:catch error}
	<p style="color: red">{error.message}</p>
{/await}
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago