50 lines
651 B
JavaScript
50 lines
651 B
JavaScript
var power;
|
|
|
|
power = {
|
|
W: {
|
|
name: {
|
|
singular: 'Watt'
|
|
, plural: 'Watts'
|
|
}
|
|
, to_anchor: 1
|
|
}
|
|
, mW: {
|
|
name: {
|
|
singular: 'Milliwatt'
|
|
, plural: 'Milliwatts'
|
|
}
|
|
, to_anchor: .001
|
|
}
|
|
, kW: {
|
|
name: {
|
|
singular: 'Kilowatt'
|
|
, plural: 'Kilowatts'
|
|
}
|
|
, to_anchor: 1000
|
|
}
|
|
, MW: {
|
|
name: {
|
|
singular: 'Megawatt'
|
|
, plural: 'Megawatts'
|
|
}
|
|
, to_anchor: 1000000
|
|
}
|
|
, GW: {
|
|
name: {
|
|
singular: 'Gigawatt'
|
|
, plural: 'Gigawatts'
|
|
}
|
|
, to_anchor: 1000000000
|
|
}
|
|
};
|
|
|
|
module.exports = {
|
|
metric: power
|
|
, _anchors: {
|
|
metric: {
|
|
unit: 'W'
|
|
, ratio: 1
|
|
}
|
|
}
|
|
};
|