0.0.23 • Published 1 year ago
take-notes v0.0.23
take-notes
Notes
- Intro: hear you get notes of all differnt technologies like html,css,js,ts,java etc, from diffent teachers and with diffent explaination and also u can be a part of it by creating your known notes.
Step to be follow:
- Install take-notes by using following comand
npm i take-notes
* After the Installation check in the package.json file wither it
is installed or not.
```bash
"take-notes": "^1.0.1",
- Working Example with React.JS is as follows:
import logo from './logo.svg'; import './App.css'; import {useState} from 'react' import base64 from 'base64-encode-file'
function App() { let img,setImg=useState() let handleChange=async(e)=>{ let data=await base64(e.target.files0) console.log(data) } return <>
export default App;
* Working Example with React.TS is as follows:
```bash
import React from 'react';
import logo from './logo.svg';
import './App.css';
import base64 from 'base64-encode-file'
function App() {
let handleChange=async(e:any)=>{
console.log( await base64(e.target.files[0]))
}
return (
<>
<input type="file" name="" onChange={handleChange} />
</>
);
}
export default App;
0.0.23
1 year ago
0.0.21
1 year ago
0.0.20
1 year ago
0.0.19
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.16
1 year ago
0.0.14
1 year ago
0.0.15
1 year ago
0.0.13
1 year ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.9
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago