Module to generate science related entries.Overview
Both methods in this module return objects rather than strings. For example, you can use {{$science.chemicalElementName}}
to pick out the specific property you need.
chemicalElement#
Returns a random periodic table element.The original faker.science.chemicalElement()
method has been refined into three more precise variables:{{$science.chemicalElementSymbol}}
: Generates an chemicalElement Symbol.
{{$science.chemicalElementName}}
: Generates an chemicalElement Name.
{{$science.chemicalElementAtomicNumber}}
: Generates an chemicalElement AtomicNumber.
unit#
Returns a random scientific unit.The original faker.science.unit()
method has been refined into two more precise variables:{{$science.unitName}}
: Generates an unit name.
{{$science.unitSymbol}}
: Generates an unit Symbol.
Modified at 2025-06-25 07:57:16