Torque sensors and power controls were developed in the late 1990s. For example, Takada Yutky of Japan filed a patent in 1997 for such a device. In 1992 Vector Services Limited offered and sold an e-bike dubbed Zike. The bicycle included NiCd batteries that were built into a frame member and included an 850 g permanent-magnet motor. Despite the Zike, in 1992 hardly any commercial e-bikes were available.
After you decide which style of e-bike you want, consider the class. In the US, there are three classes defined by the type of assist and how fast the motor will propel you. Most electric bikes sold are class 1 or 3. Class 1 bikes have a motor (max 750w) that assists while you're pedaling, up to 20 mph. Class 3, also known as “speed pedelec” can also have up to a 750w motor, but it can assist you up to 28mph. Both of those are allowed in most states and cities without license. Class 2 have throttles that don't require you to pedal to get a boost. They're allowed on most streets, bike lanes, and paths, but less popular than the other classes and not covered much here (because we still love to pedal and the greater distances pedal assist bikes can cover).