@mark1russell7/guidebook-preparedness 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +176 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/sources.ts +2 -0
- package/src/data/topics.ts +3 -2
- package/src/data/units.ts +175 -0
- package/src/index.ts +1 -0
package/build/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export declare const MASTER: readonly ChartNode[];
|
|
|
37
37
|
export declare const AREAS: readonly ["water", "food", "farming", "medicine", "sanitation", "shelter", "energy", "electronics", "metals", "tools", "chemistry", "communication"];
|
|
38
38
|
/** The topics of the content. `printOrder` of the topics add-on gives the sequence of the book. */
|
|
39
39
|
export declare const TOPICS: readonly Topic[];
|
|
40
|
+
/** The cited units of the topics. The units of the other areas come in later changes. */
|
|
41
|
+
export declare const TOPIC_UNITS: readonly CitedUnit[];
|
|
40
42
|
/** The date of the last read of the Kiwix catalog feed. */
|
|
41
43
|
export declare const BUNDLES_CHECKED = "2026-11-21";
|
|
42
44
|
/**
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBC6DlB,qBAAqB;;;;;qBA6hBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBC13BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/units.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBC6DlB,qBAAqB;;;;;qBA6hBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBC13BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCrCjB;;qBAyDA,iBAAiB;;qBC8GjB,sBAAsB;;qBCtKtB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCtDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
|
package/build/index.js
CHANGED
|
@@ -5814,6 +5814,14 @@ const SOURCES = [
|
|
|
5814
5814
|
federal("ready-safety", "Ready.gov", "Safety Skills", "https://www.ready.gov/safety-skills"),
|
|
5815
5815
|
federal("cdc-co", "CDC", "Carbon Monoxide Poisoning Basics", "https://www.cdc.gov/carbon-monoxide/about/index.html"),
|
|
5816
5816
|
federal("cdc-water", "CDC", "How to Make Water Safe in an Emergency", "https://www.cdc.gov/water-emergency/about/index.html"),
|
|
5817
|
+
{
|
|
5818
|
+
...federal("cdc-water-store", "CDC", "How to Create an Emergency Water Supply", "https://www.cdc.gov/water-emergency/about/how-to-create-and-store-an-emergency-water-supply.html"),
|
|
5819
|
+
checked: "2026-11-23"
|
|
5820
|
+
},
|
|
5821
|
+
{
|
|
5822
|
+
...federal("epa-water-disinfect", "U.S. Environmental Protection Agency", "Emergency Disinfection of Drinking Water", "https://www.epa.gov/ground-water-and-drinking-water/emergency-disinfection-drinking-water"),
|
|
5823
|
+
checked: "2026-11-23"
|
|
5824
|
+
},
|
|
5817
5825
|
federal("fda-drugs", "FDA", "Safe Drug Use After a Natural Disaster", "https://www.fda.gov/drugs/emergency-preparedness-drugs/safe-drug-use-after-natural-disaster"),
|
|
5818
5826
|
{
|
|
5819
5827
|
id: "wikipedia-en",
|
|
@@ -7258,6 +7266,172 @@ const RULES = [
|
|
|
7258
7266
|
then: "Stay at home as much as possible, and use the plan of a pandemic."
|
|
7259
7267
|
}
|
|
7260
7268
|
];
|
|
7269
|
+
// src/data/units.ts
|
|
7270
|
+
const wiki = (article, section, revision) => `${article}, section ${section} (revision ${revision})`;
|
|
7271
|
+
/** The cited units of the topics. The units of the other areas come in later changes. */
|
|
7272
|
+
const TOPIC_UNITS = [...[
|
|
7273
|
+
{
|
|
7274
|
+
id: "water.sources.home",
|
|
7275
|
+
use: "summary",
|
|
7276
|
+
text: "Look for water in the home first: ice cubes, the hot water tank and the pipes. Water that flows in a river or lake is better than still water. Do not use water with floating material, a dark color or a bad odor. Treat the water of each source.",
|
|
7277
|
+
source: "epa-water-disinfect",
|
|
7278
|
+
locator: "Additional Water Guidance"
|
|
7279
|
+
},
|
|
7280
|
+
{
|
|
7281
|
+
id: "water.sources.heating",
|
|
7282
|
+
use: "fact",
|
|
7283
|
+
text: "Do not drink, cook or wash with the water of the radiators or the boiler of a home heating system.",
|
|
7284
|
+
source: "cdc-water",
|
|
7285
|
+
locator: "Overview"
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
id: "water.sources.chemicals",
|
|
7289
|
+
use: "fact",
|
|
7290
|
+
text: "Boiling and disinfection cannot make water with fuel, toxic chemicals or radioactive material safe. Use bottled water or a different source.",
|
|
7291
|
+
source: "cdc-water",
|
|
7292
|
+
locator: "Water with fuel or toxic chemicals in it"
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
id: "water.sources.rain",
|
|
7296
|
+
use: "summary",
|
|
7297
|
+
text: "Rain is clean when it falls. But a roof and a tank add bird and animal feces, dust and other pollution. When you send the first flow of each rain to waste, much of this pollution goes with it. Treat roof water before you drink it.",
|
|
7298
|
+
source: "wikipedia-en",
|
|
7299
|
+
locator: wiki("Rainwater harvesting", "Quality of water", 0x5299e0c6)
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
id: "water.boil.steps",
|
|
7303
|
+
use: "summary",
|
|
7304
|
+
text: "Let cloudy water settle, or filter it through a clean cloth, a paper towel or a coffee filter. Bring the clear water to a rolling boil for 1 minute, or for 3 minutes above 6,500 feet. Let it cool. Store it in clean containers with tight covers.",
|
|
7305
|
+
source: "cdc-water",
|
|
7306
|
+
locator: "Boil, Steps for boiling water"
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
id: "water.boil.best",
|
|
7310
|
+
use: "fact",
|
|
7311
|
+
text: "Boiling is the best way to kill germs in water. Chemical disinfectants do not kill the parasites Cryptosporidium and Giardia as well as boiling.",
|
|
7312
|
+
source: "cdc-water",
|
|
7313
|
+
locator: "Key points, and Disinfect"
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
id: "water.boil.limits",
|
|
7317
|
+
use: "fact",
|
|
7318
|
+
text: "Boiling and disinfection do not remove heavy metals, salts and most other chemicals.",
|
|
7319
|
+
source: "epa-water-disinfect",
|
|
7320
|
+
locator: "The first paragraph"
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
id: "water.boil.taste",
|
|
7324
|
+
use: "summary",
|
|
7325
|
+
text: "Boiled water tastes flat. Pour it from one clean container to another, then let it stand for a few hours. Or add a pinch of salt to each quart or liter.",
|
|
7326
|
+
source: "cdc-water",
|
|
7327
|
+
locator: "Boil, Making boiled water taste better"
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
id: "water.disinfect.bleach",
|
|
7331
|
+
use: "fact",
|
|
7332
|
+
text: "Use regular, unscented chlorine bleach with 6% or 8.25% sodium hypochlorite. Add 2 drops to each quart or liter of water. To each gallon, add 8 drops of 6% bleach or 6 drops of 8.25% bleach. Use double the bleach for water that is cloudy, colored or very cold.",
|
|
7333
|
+
source: "epa-water-disinfect",
|
|
7334
|
+
locator: "The table of bleach amounts"
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
id: "water.disinfect.wait",
|
|
7338
|
+
use: "summary",
|
|
7339
|
+
text: "Stir the water, then let it stand for 30 minutes. Then the water has a slight odor of chlorine. If it has no odor, add the same amount of bleach again and wait 15 more minutes.",
|
|
7340
|
+
source: "epa-water-disinfect",
|
|
7341
|
+
locator: "Disinfect water using household bleach"
|
|
7342
|
+
},
|
|
7343
|
+
{
|
|
7344
|
+
id: "water.disinfect.fresh",
|
|
7345
|
+
use: "fact",
|
|
7346
|
+
text: "Use fresh bleach, or bleach that stayed at room temperature for less than one year. Do not use scented or color-safe bleach, or bleach with added cleaners.",
|
|
7347
|
+
source: "epa-water-disinfect",
|
|
7348
|
+
locator: "Disinfect water using household bleach"
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
id: "water.disinfect.iodine",
|
|
7352
|
+
use: "fact",
|
|
7353
|
+
text: "With no bleach, add 5 drops of 2% tincture of iodine to each quart or liter of water. Add 10 drops to cloudy or colored water. Let it stand for at least 30 minutes.",
|
|
7354
|
+
source: "epa-water-disinfect",
|
|
7355
|
+
locator: "Other Disinfection Methods, Common household iodine"
|
|
7356
|
+
},
|
|
7357
|
+
{
|
|
7358
|
+
id: "water.disinfect.iodine-who",
|
|
7359
|
+
use: "fact",
|
|
7360
|
+
text: "Do not give water with iodine to a person who is pregnant, has thyroid problems or is sensitive to iodine. Nobody drinks water with iodine for more than a few weeks at a time.",
|
|
7361
|
+
source: "cdc-water",
|
|
7362
|
+
locator: "Who should avoid water disinfected with iodine"
|
|
7363
|
+
},
|
|
7364
|
+
{
|
|
7365
|
+
id: "water.disinfect.crypto",
|
|
7366
|
+
use: "fact",
|
|
7367
|
+
text: "Iodine and chlorine tablets do not kill Cryptosporidium. Chlorine dioxide tablets kill it when you follow their instructions.",
|
|
7368
|
+
source: "cdc-water",
|
|
7369
|
+
locator: "If Cryptosporidium is in your water"
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
id: "water.filter.pore",
|
|
7373
|
+
use: "fact",
|
|
7374
|
+
text: "A portable filter removes bacteria only with an absolute pore size of 0.3 micron or smaller. It removes parasites such as Giardia and Cryptosporidium only with 1 micron or smaller. A filter does not remove all germs.",
|
|
7375
|
+
source: "cdc-water",
|
|
7376
|
+
locator: "Filter, Using a filter"
|
|
7377
|
+
},
|
|
7378
|
+
{
|
|
7379
|
+
id: "water.filter.viruses",
|
|
7380
|
+
use: "summary",
|
|
7381
|
+
text: "Most portable pump filters remove bacteria and protozoa, but not most viruses. After the filter, disinfect the water with a chemical or with ultraviolet light.",
|
|
7382
|
+
source: "wikipedia-en",
|
|
7383
|
+
locator: wiki("Portable water purification", "Filtration", 0x52525264)
|
|
7384
|
+
},
|
|
7385
|
+
{
|
|
7386
|
+
id: "water.filter.homemade",
|
|
7387
|
+
use: "summary",
|
|
7388
|
+
text: "A filter of sand and charcoal made on site is not reliable, and it removes few germs. Boil the water after such a filter.",
|
|
7389
|
+
source: "wikipedia-en",
|
|
7390
|
+
locator: wiki("Portable water purification", "Homemade water filters", 0x52525264)
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
id: "water.filter.slow-sand",
|
|
7394
|
+
use: "summary",
|
|
7395
|
+
text: "A slow sand filter cleans water with a biofilm. The biofilm grows on the fine sand in the first 10 to 20 days. It needs no chemicals and no electricity, but it needs clear water. A good filter removes 90% to 99% of the bacteria.",
|
|
7396
|
+
source: "wikipedia-en",
|
|
7397
|
+
locator: wiki("Slow sand filter", "Method of operation, and Features", 0x52ab92f0)
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
id: "water.store.amount",
|
|
7401
|
+
use: "summary",
|
|
7402
|
+
text: "Store at least 1 gallon of water for each person for each day, for 3 days. If you can, store a supply for 2 weeks. Store more for a pregnant woman, a sick person, pets or a hot climate.",
|
|
7403
|
+
source: "cdc-water-store",
|
|
7404
|
+
locator: "How much emergency water to store, and Other considerations"
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
id: "water.store.containers",
|
|
7408
|
+
use: "summary",
|
|
7409
|
+
text: "Use food-grade water containers. Or use a container with a tight top, made of a strong material that does not break, not glass. Do not use a container that held a toxic chemical, such as bleach or a pesticide.",
|
|
7410
|
+
source: "cdc-water-store",
|
|
7411
|
+
locator: "Choosing a container, and Don't use unsafe containers"
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
id: "water.store.clean",
|
|
7415
|
+
use: "summary",
|
|
7416
|
+
text: "Wash the container with soap and rinse it. Mix 1 teaspoon of unscented bleach with 5% to 9% sodium hypochlorite in 1 quart of water. Shake it in the closed container, wait 30 seconds, pour it out and let the container dry.",
|
|
7417
|
+
source: "cdc-water-store",
|
|
7418
|
+
locator: "Cleaning the container before use, Steps to take"
|
|
7419
|
+
},
|
|
7420
|
+
{
|
|
7421
|
+
id: "water.store.keep",
|
|
7422
|
+
use: "summary",
|
|
7423
|
+
text: "Write \"drinking water\" and the date on each container. Replace the water every 6 months. Keep it at 50 °F to 70 °F, out of direct sunlight and away from gasoline and pesticides.",
|
|
7424
|
+
source: "cdc-water-store",
|
|
7425
|
+
locator: "Storing the water"
|
|
7426
|
+
},
|
|
7427
|
+
{
|
|
7428
|
+
id: "water.store.bleach",
|
|
7429
|
+
use: "fact",
|
|
7430
|
+
text: "Store a bottle of unscented liquid chlorine bleach with 5% to 9% sodium hypochlorite. Use it to disinfect water and to clean.",
|
|
7431
|
+
source: "cdc-water-store",
|
|
7432
|
+
locator: "Other considerations"
|
|
7433
|
+
}
|
|
7434
|
+
]];
|
|
7261
7435
|
// src/data/topics.ts
|
|
7262
7436
|
/** The areas of the topics. */
|
|
7263
7437
|
const AREAS = [
|
|
@@ -7315,7 +7489,7 @@ const topic = (id, title, requires = [], extra = {}) => {
|
|
|
7315
7489
|
title,
|
|
7316
7490
|
area,
|
|
7317
7491
|
requires,
|
|
7318
|
-
units:
|
|
7492
|
+
units: TOPIC_UNITS.filter((unit) => unit.id.startsWith(`${id}.`)).map((unit) => unit.id),
|
|
7319
7493
|
bundles: [
|
|
7320
7494
|
"wikipedia-mini",
|
|
7321
7495
|
"wikipedia-all",
|
|
@@ -7734,6 +7908,6 @@ const GRAPH = {
|
|
|
7734
7908
|
}
|
|
7735
7909
|
]
|
|
7736
7910
|
};
|
|
7737
|
-
export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CATALOG_TAB, CHECKED, CUTS, CUT_STEPS, GAPS, GRAPH, HAZARDS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LIVES, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOCIETY_KEY, SOURCES, START_TAB, STEPS, TABS, TOPICS };
|
|
7911
|
+
export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CATALOG_TAB, CHECKED, CUTS, CUT_STEPS, GAPS, GRAPH, HAZARDS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LIVES, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOCIETY_KEY, SOURCES, START_TAB, STEPS, TABS, TOPICS, TOPIC_UNITS };
|
|
7738
7912
|
|
|
7739
7913
|
//# sourceMappingURL=index.js.map
|