<commit_before>js: lib/**/*.coffee
	./node_modules/.bin/coffee -o js -c lib/
	cp -r lib/font/data js/font/data
	
browser: lib/**/*.coffee
	mkdir -p build/
	./node_modules/.bin/browserify \
		--standalone PDFDocument \
		--debug \
		--extension=.coffee \
		. | ./node_modules/.bin/exorcist build/pdfkit.js.map > build/pdfkit.js
		
browser-demo: demo/browser.js
	./node_modules/.bin/browserify --extension .coffee demo/browser.js > demo/bundle.js
	
docs: pdf-guide website
	
pdf-guide:
	./node_modules/.bin/coffee docs/generate.coffee
	
website:
	mkdir -p docs/img
	./node_modules/.bin/coffee docs/generate_website.coffee
		
clean:
	rm -rf js build demo/bundle.js
<commit_msg>Add browser demo to makefile target for docs<commit_after>js: lib/**/*.coffee
	./node_modules/.bin/coffee -o js -c lib/
	cp -r lib/font/data js/font/data
	
browser: lib/**/*.coffee
	mkdir -p build/
	./node_modules/.bin/browserify \
		--standalone PDFDocument \
		--debug \
		--extension=.coffee \
		. | ./node_modules/.bin/exorcist build/pdfkit.js.map > build/pdfkit.js
		
browser-demo: demo/browser.js
	./node_modules/.bin/browserify --extension .coffee demo/browser.js > demo/bundle.js
	
docs: pdf-guide website browser-demo
	
pdf-guide:
	./node_modules/.bin/coffee docs/generate.coffee
	
website:
	mkdir -p docs/img
	./node_modules/.bin/coffee docs/generate_website.coffee
		
clean:
	rm -rf js build demo/bundle.js

{'fraction_non_alphanumeric': 0.15014367816091953, 'fraction_numerical': 0.0, 'mean_word_length': 2.9350282485875705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6447488', 'n_tokens_mistral': 567, 'n_tokens_neox': 503, 'n_words': 106}