Photo- and electroproduction of KΣ have been investigated near their production thresholds by using an effective Lagrangian approach. For this purpose, the background amplitude is constructed from suitable Feynman diagrams, whereas the resonance terms are calculated by means of the Breit-Wigner form of multipoles. Experimental data available in the proton channels (K+Σ0 and K0Σ+) with energies up to 50 MeV above the thresholds have been utilized to extract the unknown parameters. In these proton channels the calculated observables fit nicely to the experimental data, whereas in the neutron channels (K+Σ- and K0Σ0) the predicted observables contain some uncertainties due to the the uncertainties in the values of helicity photon couplings. To this end, new K0Σ+ photoproduction data are urgently required. The present analysis indicates the validity of the PΛ=-13PΣ relation derived a long time ago. In the electroproduction sector the present analysis confirms the smooth transition between photoproduction and low Q2 electroproduction data. The effect of new Crystal Ball data is shown to be mild at the backward angles. It is also found that the electroproductions of K0Σ+ and K0Σ0 are practically not the suitable reactions for investigating the K0 charge form factor, since the effect is small.