@mark1russell7/guidebook-preparedness 0.7.40 → 0.7.42
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.map +1 -1
- package/build/index.js +112 -2
- package/build/index.js.map +1 -1
- package/package.json +5 -5
- package/src/data/bundles.ts +1 -0
- package/src/data/sources.ts +7 -0
- package/src/data/tab-units.ts +56 -1
- package/src/data/topics.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/guidebook-preparedness",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.42",
|
|
5
5
|
"description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"guidebook",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"vitest": "^5.0.3"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@mark1russell7/guidebook": "0.
|
|
60
|
-
"@mark1russell7/guidebook-library": "0.2.
|
|
61
|
-
"@mark1russell7/guidebook-plans": "0.3.
|
|
62
|
-
"@mark1russell7/guidebook-topics": "0.1.
|
|
59
|
+
"@mark1russell7/guidebook": "0.5.0",
|
|
60
|
+
"@mark1russell7/guidebook-library": "0.2.4",
|
|
61
|
+
"@mark1russell7/guidebook-plans": "0.3.5",
|
|
62
|
+
"@mark1russell7/guidebook-topics": "0.1.5",
|
|
63
63
|
"@mark1russell7/vex": "^0.20.2"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
package/src/data/bundles.ts
CHANGED
|
@@ -36,6 +36,7 @@ export const BUNDLES: readonly Bundle[] = [
|
|
|
36
36
|
{ id: "stackexchange-electronics", title: "Stack Exchange: Electronics Q&A", bytes: 4_261_397_539, license: "cc-by-sa-4.0", level: "pocket", source: "stackexchange", version: "2026-10", sha256: "b28e58b24ed55c602265729b34b0c6cc4e12228e6fe2f55df5b5e9eae169b266", url: `${ZIM}/stack_exchange/electronics.stackexchange.com_en_all_2026-10.zim` },
|
|
37
37
|
{ id: "wikipedia-mini", title: "Wikipedia: the introduction of each article", bytes: 14_386_799_064, license: "cc-by-sa-4.0", level: "pocket", source: "wikipedia-en", version: "2026-09", sha256: "350d8956ee3d7abe2839c464c3a983f93d6934a16c7f04b10715b49439dfd349", url: `${ZIM}/wikipedia/wikipedia_en_all_mini_2026-09.zim` },
|
|
38
38
|
{ id: "wikipedia-all", title: "Wikipedia: all articles, with no pictures", bytes: 52_690_706_555, license: "cc-by-sa-4.0", level: "shelf", source: "wikipedia-en", version: "2026-06", sha256: "441a56d9e05b2d98f8ae9acb7986a513ed47904d73852c92dc6b7d50baa122e5", url: `${ZIM}/wikipedia/wikipedia_en_all_nopic_2026-06.zim` },
|
|
39
|
+
{ id: "gutenberg-all", title: "Project Gutenberg: the books in English", bytes: 221_251_590_584, license: "gutenberg", level: "shelf", source: "gutenberg", version: "2025-11", sha256: "01677c8d554a1cab2cbfd020ac99ebca7dd6c74d3ce0d13f266a2ba603dfaf28", url: `${ZIM}/gutenberg/gutenberg_en_all_2025-11.zim` },
|
|
39
40
|
];
|
|
40
41
|
|
|
41
42
|
/**
|
package/src/data/sources.ts
CHANGED
|
@@ -200,6 +200,8 @@ export const SOURCES: readonly Source[] = [
|
|
|
200
200
|
{ ...federal("snap-apply", "USDA Food and Nutrition Service", "SNAP: Applicant and Participant", "https://www.fns.usda.gov/snap/applicant-recipient"), checked: "2026-11-22" },
|
|
201
201
|
// The data dump of Stack Exchange, Inc. on archive.org gives CC BY-SA 4.0 for all user content of the network.
|
|
202
202
|
// A use shows the network as the source, links each question, and shows and links the name of each author.
|
|
203
|
+
// gutenberg.org answered 503 (maintenance) on 2026-11-21 and 2026-11-24. The license was read in the full license of eBook 11 from the PGLAF mirror.
|
|
204
|
+
{ id: "gutenberg", title: "Project Gutenberg", url: "https://www.gutenberg.org/", license: "gutenberg", checked: "2026-11-24", by: "Project Gutenberg Literary Archive Foundation" },
|
|
203
205
|
{ id: "stackexchange", title: "The Stack Exchange network", url: "https://archive.org/details/stackexchange", license: "cc-by-sa-4.0", checked: CHECKED, by: "Stack Exchange contributors" },
|
|
204
206
|
// Backblaze gives the failure rates of the drives of its data centers. The units cite each rate as a fact, so the license permits the use.
|
|
205
207
|
{ id: "backblaze-hdd-2026q2", title: "Backblaze Drive Stats for Q2 2026", url: "https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/", license: "all-rights-reserved", checked: CHECKED, by: "Backblaze" },
|
|
@@ -260,6 +262,7 @@ export const SOURCES: readonly Source[] = [
|
|
|
260
262
|
{ id: "nps-lnt", title: "Leave No Trace Seven Principles", url: "https://www.nps.gov/articles/leave-no-trace-seven-principles.htm", license: "us-public-domain", checked: "2026-11-22", by: "National Park Service" },
|
|
261
263
|
{ id: "army-fm21-10", title: "FM 21-10, Field Hygiene and Sanitation (2000)", url: "https://ia601500.us.archive.org/28/items/MManuals/Fm21-10UsArmyFieldHygeineSanitation.pdf", license: "us-public-domain", checked: "2026-11-22", by: "Department of the Army" },
|
|
262
264
|
{ id: "who-ors", title: "Cholera: information for the general public on oral rehydration solution", url: "https://applications.emro.who.int/docs/WHOEMCSR594E-eng.pdf", license: "all-rights-reserved", checked: "2026-11-22", by: "WHO Regional Office for the Eastern Mediterranean" },
|
|
265
|
+
{ id: "dga-goals", title: "Dietary Guidelines for Americans, 2020-2025, Appendix 1: Nutritional Goals for Age-Sex Groups", url: "https://www.dietaryguidelines.gov/sites/default/files/2020-12/Dietary_Guidelines_for_Americans_2020-2025.pdf#page=146", license: "us-public-domain", checked: "2026-11-24", by: "USDA and HHS" },
|
|
263
266
|
{ id: "dga-calories", title: "Dietary Guidelines for Americans, 2020-2025, Appendix 2: Estimated Calorie Needs", url: "https://www.dietaryguidelines.gov/sites/default/files/2020-12/Dietary_Guidelines_for_Americans_2020-2025.pdf", license: "us-public-domain", checked: "2026-11-22", by: "USDA and HHS" },
|
|
264
267
|
{ id: "cdc-home-canned", title: "Home-Canned Foods", url: "https://www.cdc.gov/botulism/prevention/home-canned-foods.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC" },
|
|
265
268
|
{ id: "epa-burnwise", title: "Best Wood-Burning Practices", url: "https://www.epa.gov/burnwise/best-wood-burning-practices", license: "us-public-domain", checked: "2026-11-22", by: "US EPA (Burn Wise)" },
|
|
@@ -305,6 +308,10 @@ export const SOURCES: readonly Source[] = [
|
|
|
305
308
|
{ ...federal("cdc-cholera", "CDC", "Treating Cholera", "https://www.cdc.gov/cholera/treatment/index.html"), checked: "2026-11-24" },
|
|
306
309
|
{ ...federal("fda-acetaminophen-use", "U.S. Food and Drug Administration", "Don't Overuse Acetaminophen", "https://www.fda.gov/consumers/consumer-updates/dont-overuse-acetaminophen"), checked: "2026-11-24" },
|
|
307
310
|
// The two reports of the Pacific Northwest National Laboratory are works of a contractor, not of the US government. They give a summary or a fact only.
|
|
311
|
+
{ ...federal("usgs-water-weight", "U.S. Geological Survey", "A Million Gallons of Water: How Much Does It Weigh? (2018)", "https://www.usgs.gov/water-science-school/science/a-million-gallons-water-how-much-it"), checked: "2026-11-24" },
|
|
312
|
+
{ id: "fda-ibuprofen-label", title: "Advil (ibuprofen) Tablets, 200 mg: the label of NDA 018989 (2025)", url: "https://www.accessdata.fda.gov/drugsatfda_docs/label/2025/018989Orig1s104lbl.pdf", license: "all-rights-reserved", checked: "2026-11-24", by: "Haleon, through the U.S. Food and Drug Administration" },
|
|
313
|
+
{ id: "dailymed-loperamide", title: "Anti-diarrheal: loperamide HCl tablet, film coated (the label on DailyMed)", url: "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=68467222-c8b4-4029-a180-59a57d0090d3", license: "all-rights-reserved", checked: "2026-11-24", by: "U.S. National Library of Medicine (DailyMed)" },
|
|
314
|
+
{ id: "tccc-guidelines", title: "Tactical Combat Casualty Care (TCCC) Guidelines, 01 May 2026", url: "https://www.naemt.org/docs/default-source/tccc/tccc-guidelines-_-updated-may-2026.pdf", license: "all-rights-reserved", checked: "2026-11-24", by: "Committee on Tactical Combat Casualty Care, Joint Trauma System (copy of NAEMT)" },
|
|
308
315
|
{ id: "pnnl-leadacid", title: "2020 Grid Energy Storage Technology Cost and Performance Assessment: Lead-Acid Batteries (DOE/PA-0204)", url: "https://www.pnnl.gov/sites/default/files/media/file/LeadAcid_Methodology.pdf", license: "all-rights-reserved", checked: "2026-11-24", by: "Pacific Northwest National Laboratory" },
|
|
309
316
|
{ id: "pnnl-storage", title: "Native Renewables, Inc. Analysis of Small-Scale Storage Options (PNNL-33634)", url: "https://www.pnnl.gov/main/publications/external/technical_reports/PNNL-33634.pdf", license: "all-rights-reserved", checked: "2026-11-24", by: "Pacific Northwest National Laboratory" },
|
|
310
317
|
];
|
package/src/data/tab-units.ts
CHANGED
|
@@ -1253,6 +1253,19 @@ const WATER: readonly CitedUnit[] = [
|
|
|
1253
1253
|
text: "One pound of dry rice is approximately 2 1/4 cups.",
|
|
1254
1254
|
source: "usarice-cook",
|
|
1255
1255
|
},
|
|
1256
|
+
{
|
|
1257
|
+
id: "tab.water.budget.rice-cup",
|
|
1258
|
+
use: "fact",
|
|
1259
|
+
text: "One cup of dry rice weighs approximately 7 ounces.",
|
|
1260
|
+
source: "usarice-cook",
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
id: "tab.water.budget.gallon-weight",
|
|
1264
|
+
use: "fact",
|
|
1265
|
+
text: "Water weighs approximately 8.34 pounds for each gallon.",
|
|
1266
|
+
source: "usgs-water-weight",
|
|
1267
|
+
locator: "A million gallons of water weighs",
|
|
1268
|
+
},
|
|
1256
1269
|
{
|
|
1257
1270
|
id: "tab.water.budget.rice-lid",
|
|
1258
1271
|
use: "summary",
|
|
@@ -1379,6 +1392,13 @@ const FOOD: readonly CitedUnit[] = [
|
|
|
1379
1392
|
source: "wikipedia-en",
|
|
1380
1393
|
locator: "Thiamine, table of US dietary recommendations (revision 1385912513)",
|
|
1381
1394
|
},
|
|
1395
|
+
{
|
|
1396
|
+
id: "tab.food.weeks.protein",
|
|
1397
|
+
use: "fact",
|
|
1398
|
+
text: "For adults, the acceptable range of protein is 10 to 35% of the calories of each day.",
|
|
1399
|
+
source: "dga-goals",
|
|
1400
|
+
locator: "Appendix 1, Table A1-2, Daily Nutritional Goals, Ages 2 and Older: Protein, AMDR, ages 19 and older",
|
|
1401
|
+
},
|
|
1382
1402
|
{
|
|
1383
1403
|
id: "tab.food.weeks.sprouts",
|
|
1384
1404
|
use: "fact",
|
|
@@ -1897,6 +1917,20 @@ const HEALTH: readonly CitedUnit[] = [
|
|
|
1897
1917
|
source: "fda-loperamide",
|
|
1898
1918
|
locator: "Safety Announcement",
|
|
1899
1919
|
},
|
|
1920
|
+
{
|
|
1921
|
+
id: "tab.health.illness.loperamide-dose",
|
|
1922
|
+
use: "fact",
|
|
1923
|
+
text: "A loperamide caplet has 2 mg of loperamide HCl. Adults take 2 caplets after the first loose stool, then 1 caplet after each loose stool that follows. Do not take more than 4 caplets in 24 hours.",
|
|
1924
|
+
source: "dailymed-loperamide",
|
|
1925
|
+
locator: "Drug Facts: Active ingredient and Directions, adults and children 12 years and over",
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
id: "tab.health.illness.ibuprofen-dose",
|
|
1929
|
+
use: "fact",
|
|
1930
|
+
text: "An ibuprofen tablet has 200 mg. Adults take 1 tablet every 4 to 6 hours while symptoms continue. If 1 tablet does not help, take 2 tablets. Do not take more than 6 tablets in 24 hours, unless a doctor tells you.",
|
|
1931
|
+
source: "fda-ibuprofen-label",
|
|
1932
|
+
locator: "Drug Facts: Active ingredient and Directions, adults and children 12 years and over",
|
|
1933
|
+
},
|
|
1900
1934
|
{
|
|
1901
1935
|
id: "tab.health.illness.loperamide-heart",
|
|
1902
1936
|
use: "fact",
|
|
@@ -2009,6 +2043,27 @@ const HEALTH: readonly CitedUnit[] = [
|
|
|
2009
2043
|
source: "wikipedia-en",
|
|
2010
2044
|
locator: "Wound, section Closure (revision 1386367819)",
|
|
2011
2045
|
},
|
|
2046
|
+
{
|
|
2047
|
+
id: "tab.health.delay.tourniquet-convert",
|
|
2048
|
+
use: "fact",
|
|
2049
|
+
text: "Change a tourniquet to a pressure dressing as soon as possible if 3 conditions are true. The person is not in shock. You can monitor the wound closely for bleeding. The limb is not cut off. Try to change it in less than 2 hours, if other means stop the bleeding.",
|
|
2050
|
+
source: "tccc-guidelines",
|
|
2051
|
+
locator: "Guidelines of 01 May 2026, Tactical Field Care, Tourniquets, item 2 (PDF page 8)",
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
id: "tab.health.delay.tourniquet-keep",
|
|
2055
|
+
use: "fact",
|
|
2056
|
+
text: "Do not remove a tourniquet after more than 6 hours, unless close monitoring and lab tests are available. With no medical help, keep the tourniquet on, and continue to monitor the person until a higher level of care.",
|
|
2057
|
+
source: "tccc-guidelines",
|
|
2058
|
+
locator: "Guidelines of 01 May 2026, Tactical Field Care, Tourniquets, item 2 (PDF page 8)",
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
id: "tab.health.delay.wound-check",
|
|
2062
|
+
use: "summary",
|
|
2063
|
+
text: "Examine a wound every 24 hours. Get medical care immediately if the wound becomes red, swollen or oozes, or if fever or more pain starts.",
|
|
2064
|
+
source: "cdc-wound",
|
|
2065
|
+
locator: "Wound care",
|
|
2066
|
+
},
|
|
2012
2067
|
{
|
|
2013
2068
|
id: "tab.health.delay.burn-wrap",
|
|
2014
2069
|
use: "summary",
|
|
@@ -3702,7 +3757,7 @@ const APPENDICES: readonly CitedUnit[] = [
|
|
|
3702
3757
|
{
|
|
3703
3758
|
id: "tab.appendices.health-4.ors-babies",
|
|
3704
3759
|
use: "summary",
|
|
3705
|
-
text: "A baby younger than 2 years gets 1 teaspoon of ORS every 1 to 2 minutes. The total is
|
|
3760
|
+
text: "A baby younger than 2 years gets 1 teaspoon of ORS every 1 to 2 minutes. The total is 1/4 to 1/2 cup after each loose bowel movement.",
|
|
3706
3761
|
source: "wikipedia-en",
|
|
3707
3762
|
locator: "Oral rehydration therapy, section Administration (revision 1386078379)",
|
|
3708
3763
|
},
|
package/src/data/topics.ts
CHANGED
|
@@ -32,7 +32,7 @@ const AREA_BUNDLES: Readonly<Record<Area, readonly string[]>> = {
|
|
|
32
32
|
shelter: ["appropedia", "stackexchange-diy", "stackexchange-outdoors"],
|
|
33
33
|
energy: ["energypedia", "appropedia", "stackexchange-sustainability"],
|
|
34
34
|
electronics: ["stackexchange-electronics"],
|
|
35
|
-
metals: [],
|
|
35
|
+
metals: ["gutenberg-all"],
|
|
36
36
|
tools: ["stackexchange-diy", "stackexchange-woodworking"],
|
|
37
37
|
chemistry: ["stackexchange-chemistry"],
|
|
38
38
|
communication: ["stackexchange-ham"],
|